Problem:


Rectangle

Write a program which calculates the area and perimeter of a given rectangle.

Input

  The length a and breadth b of the rectangle are given in a line separated by a single space.

Output

Print the area and perimeter of the rectangle in a line. The two integers should be separated by a single space.

Constraints

  
 1 ≤ a, b ≤ 100

Sample Input 1

3 5

Sample Output 1

15 16



Sample input:
3 5


Sample output:
15 16

Submission status: Runtime Error

Solution code:
#list1 = [int(i) for i in input().split()]
print("{0} {1}".format(list1[0]+*list[1],list1[0]*2+list1[1]*2))

Submission status: Runtime Error

Solution code:
list1 = [int(i) for i in input().split()]
print("{0} {1}".format(list[0],list[1]))

Submission status: Runtime Error

Solution code:
list1 = [int(i) for i in input().split()]
print("{0:d} {1:d}".format(list[0],list[1]))

Submission status: Runtime Error

Solution code:
list1 = [int(i) for i in input().split()]
print(list[0])

Submission status: Runtime Error

Solution code:
list1 = [int(i) for i in input().split()]
print("{0}".format(list[0]))

Submission status: Runtime Error

Solution code:
list1 = [int(i) for i in input().split()]
print(int(list[0]))

Submission status: Runtime Error

Solution code:
item = [int(i) for i in input().split()]
print(item[0]*item[1]+" ")

Submission status: Runtime Error

Solution code:
item = [int(i) for i in input().split()]
print(item[0]*item[1]+" "+2*(item[0]+item[1]))

Submission status: Runtime Error

Solution code:
x = map(int,input().split())
print(str(x[0]*x[1])+" "+str(2*x[0]+2*x[1]))

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
print(a*b,end=" ")
print((a+b)*2)

Submission status: Runtime Error

Solution code:

[a,b]=input(),split

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

print(a*b)
print((a*2)(b*2))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

print(a*b)
print((a*2)+(b*2))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

print(a*b)
print(a*2+b*2)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

print(a*b)(a*2+b*2)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

print((a*b),(a*2+b*2))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

print(a*b) (a*2+b*2)

Submission status: Runtime Error

Solution code:
a = input()
b = input()
print(a * b 2 * a + 2 * b)

Submission status: Runtime Error

Solution code:
l = input().split
a, b = list(map(int, l))
print(a * b, 2 * (a + b))

Submission status: Runtime Error

Solution code:
input_raw = input()
input_data = input_raw.split(' ')

s=input_data[0]*input_data[1]
x=input_data[0]*2+input_data[1]*2

print(string(s) & " " & string(x))

Submission status: Runtime Error

Solution code:
inputRaw=input()
inputData=inputRaw.split(' ')

s=inputData[0]*inputData[1]
x=(inputData[0]+inputData[1])*2

print(str(s)+" "+str(x))

Submission status: Runtime Error

Solution code:
inputRaw=input()
inputData=inputRaw.split(' ')

s=inputData[0]*inputData[1]
x=(inputData[0]+inputData[1])*2

print(str(s)&" "&str(x))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

print(a*b,(a+b)*2)

Submission status: Runtime Error

Solution code:
input_lines = input()
input_i = input_lines.sprit()

print(input_i[0]*input_[1])
print(input_i[0]*2 + input_[1]*2)

Submission status: Runtime Error

Solution code:
import sys

a, b = list(map(int, sys.stdin.readline(),split()))

print(a*b, 2*a+2*b)

Submission status: Runtime Error

Solution code:
x=int(input())
y=int(input())
s=x*y
l=2*x+2*y
print(s," ",l)

Submission status: Runtime Error

Solution code:
x,y=int(input().split())
s=x*y
l=2*x+2*y
print(s," ",l)

Submission status: Runtime Error

Solution code:
x=int(input().split())
s=x[0]*x[1]
l=2*x[0]+2*x[1]
print("{0} {1}",format(x[0],x[1]))

Submission status: Runtime Error

Solution code:
if __name__ == '__main__':
	a, b = map(int, raw_input().split())
	area = a * b
	circumference = 2*a + 2*b
	print(area + ' ' + circumference)

Submission status: Runtime Error

Solution code:
a, b = map(int, raw_input().split())
area = a * b
circumference = 2*a + 2*b
print(area + ' ' + circumference)

Submission status: Runtime Error

Solution code:
a, b = input().split())
area = a * b
circumference = 2*a + 2*b
print(area + ' ' + circumference)

Submission status: Runtime Error

Solution code:
val = input()

sp = val.split()

print('{} {}'.format(sp[0]*sp[1], sp[0]*2+sp[1]*2))

Submission status: Runtime Error

Solution code:
val = input()

sp = val.split()

tate = int(sp[0])
yoko = int(sp[1])

print('{} {}'.format(str(sp[0]*sp[1]), str(sp[0]*2+sp[1]*2)))

Submission status: Runtime Error

Solution code:
import re

t = re.search(r"(\d{1,3})\s(\d{1,3})", input(""))

a = t.group(1)
b = t.group(2)

x = a * b
y = a*2 + b*2

print(x,y)

Submission status: Runtime Error

Solution code:
a = input("input a: ")
a = int(a)
b = input("input b: ")
b = int(b)
print( a, b )
area = a*b
line = 2*a + 2*b
print( area, line )

Submission status: Runtime Error

Solution code:
a = input("input a: ")
a = int (a)
b = input("input b: ")
b = int (b)
area = a*b
line = 2*a + 2*b
print( area, line )

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
area = a*b
line = 2*a + 2*b
print( area, line )

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
area = a*b
line = 2*a + 2*b
print(area,line)

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())
area = a*b
line = 2*(a+b)
ptint ( area, line )

Submission status: Runtime Error

Solution code:

w = int(input())
h = int(input())

print((w+h)*2)

Submission status: Runtime Error

Solution code:
numbers = list(map(int,input().split()))
print((numbers[0]*numbers[1])+" "+(numbers[0]+numbers[1])*2)

Submission status: Runtime Error

Solution code:
a, b = input.split()
print(a)
print(b)

Submission status: Runtime Error

Solution code:
print(input)
print(a)
print(b)

Submission status: Runtime Error

Solution code:
[a,b]=input.split()
a = int(a)
b = int(b)
print("{} {}".format(a*b, 2*a+2*b))

Submission status: Runtime Error

Solution code:
def temp(val):
    [a,b]=val.split()
    a = int(a)
    b = int(b)
    print("{} {}".format(a*b, 2*a+2*b))

temp(input)

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
print(a*b,2(a+b))

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
result=(a*b,2(a+b))
print(result)

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
result=(a*b,2*(a+b))
print(result)

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
result=[a*b,a*(a+b)]
print(result)

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
print(a*b)
print(2*(a+b))

Submission status: Runtime Error

Solution code:
a,b= map(int, input(),split())
print(a*b,2*(a+b))

Submission status: Runtime Error

Solution code:
l = map(int, raw_input().split())
print(l[0]*l[1], (l[0]+l[1])*2)

Submission status: Runtime Error

Solution code:
x = input("")
x2 = x.split()
result = x2[0] * x2[1]
result2= x2[0]*2 + x2[1]*2
print(result,result2)

Submission status: Runtime Error

Solution code:
a,b=int(input()).split()
print(a*b+" "+(a*2+b*2))

Submission status: Runtime Error

Solution code:
a,b = input().split()
S = a*b
L = 2*(a+b)
print(S L)

Submission status: Runtime Error

Solution code:
a,b = int(input().split())
S = a*b
L = 2*(a+b)
print(S L)

Submission status: Runtime Error

Solution code:
a,b = input(int()).split()
S = a*b
L = 2*(a+b)
print(S L)

Submission status: Runtime Error

Solution code:
a,b = input().split()
S = int(a)*int(b)
L = 2*(a+b)
print(S L)

Submission status: Runtime Error

Solution code:
a,b = input().split()
S = int(a)*int(b)
L = 2*(int(a)+int(b))
print(S L)

Submission status: Runtime Error

Solution code:
a,b = input().split()
S = int(a)*int(b)
L = 2*(int(a)+int(b))
print(int(S) int(L))

Submission status: Runtime Error

Solution code:
a,b = int(input().split())
S = a*b
L = 2*(a+b)
print(S,L)

Submission status: Runtime Error

Solution code:
a,b = int(input().split())
S = int(a*b)
L = int(2*(a+b))
print(S,L)

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())

def SquareArea(a, b):
	return str(a * b)

def SideLength(a, b):
	return str((a + b)*2)

print(SquareArea(a, b)???+ " " + SideLength(a, b))

Submission status: Runtime Error

Solution code:
def Area(a, b):
    return a*b

def Lap(a, b):
    return 2*(a+b)

num = input()
a,b = num.split()
print('{} {}'.format(Area(a,b), Lap(a,b)))

Submission status: Runtime Error

Solution code:
def Area(a, b):
    return a*b

def Lap(a, b):
    return 2*(a+b)

num = input()
a,b = int(num.split())
print('{} {}'.format(Area(a,b), Lap(a,b)))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

print(a*b,end=" ")
print(a*2+b*2)

Submission status: Runtime Error

Solution code:
a,b = map(input().split())
print(a*b,2*a+2*b)

Submission status: Runtime Error

Solution code:
x = int(input())
y = int(input())
print(str(x*y) + " " + str(2*x + 2*y))

Submission status: Runtime Error

Solution code:
x = int(input().rstrip())
y = int(input().rstrip())
print(str(x*y) + " " + str(2*x + 2*y))

Submission status: Runtime Error

Solution code:
line = input().rstrip().split(" ")
x = int(line[0])
y = int(line[1])
print(str(x*y) + " " + str(2*x + 2*y)

Submission status: Runtime Error

Solution code:
a,b = raw_input.split.map
print a*b

Submission status: Runtime Error

Solution code:
print(a * b (a * 2) + (b * 2))

Submission status: Runtime Error

Solution code:
a,b = map(int, input().split())

c = a * b
d = (a + b) *2

print(str(c,d))

Submission status: Runtime Error

Solution code:
a,b = map(int, input().split())

c = a * b
d = (a + b) *2

print(c d)

Submission status: Runtime Error

Solution code:
s = int(input()).split()
print(s[0]*s[1],' ',s[0]*2+s[1]*2)

Submission status: Runtime Error

Solution code:
s = input().split()
print(str(s[0]*s[1]),' ',str(s[0]*2+s[1]*2))

Submission status: Runtime Error

Solution code:
s = int(input().split())
print(int(s[0])*int(s[1]),' ',int(s[0]*2)+int(s[1]*2))

Submission status: Runtime Error

Solution code:
a,b = int(input().split())
print(a*b," ",2*(a+b))

Submission status: Runtime Error

Solution code:
a,b = map(int,input().sep())

men = a*b
hen =(a+b)*2

print(men,hen)

Submission status: Runtime Error

Solution code:
a,b = map(int,input().sep())

men = a*b
hen = (a+b)*2

print(int(men),int(hen))

Submission status: Runtime Error

Solution code:
a,b=input().split()
print(int(a)*int(b)+" "+(int(a)*2+int(b)*2))

Submission status: Runtime Error

Solution code:
x=input().split()
a,b=int(x[0]),int(x[1])
print(a*b+" "+(a*2+b*2))

Submission status: Runtime Error

Solution code:
x=input().split()
a=int(x[0])
b=int(x[1])
print(a*b+" "+(a*2+b*2))

Submission status: Runtime Error

Solution code:
a b = input()

print 2*(a+b) a*b

Submission status: Runtime Error

Solution code:
a b = input()

print a*b 2*(a+b)

Submission status: Runtime Error

Solution code:
a,b= input()
print a*b, 2*(a+b)

Submission status: Runtime Error

Solution code:
a,b= input().split()
print a*b, 2*(a+b)

Submission status: Runtime Error

Solution code:
a,b = map(int,raw_input().split()) #???????¬?

print a*b , 2*(a+b)

Submission status: Runtime Error

Solution code:
a,b=map(int,raw_input().split()) #???????¬?
print a*b,2*(a+b)

Submission status: Runtime Error

Solution code:
x, y = int(input().split)
print("{} {}".format(x*y,2*(x+y)))

Submission status: Runtime Error

Solution code:
w=input()
h=input()
w=int(w)
h=int(h)
print(w*h,2*w+2*h)

Submission status: Runtime Error

Solution code:
a, b = map(int.input().split())
print(a * b, a * 2 + b * 2)

Submission status: Runtime Error

Solution code:
a = input()
b = input()

a = int(a)
b = int(b)

S = a*b
syuu = 2*a+2*b

print(str(S)+" "+str(syuu))

Submission status: Runtime Error

Solution code:
a,b = map(int,input().split())
print a*b,(a+b)*2

Submission status: Runtime Error

Solution code:
a = [ input().split ]
x = int( a[0] )
y = int( a[1] )
area = x * y
rec   = ( x + y ) * 2
print( area rec )

Submission status: Runtime Error

Solution code:
a, b = exec(input().replace(' ', ','))
print(f"{a*b} {2(a+b)}")

Submission status: Runtime Error

Solution code:
a, b = exec(input().replace(' ', ','))
print("{} {}".format(a*b, 2(a+b)))

Submission status: Runtime Error

Solution code:
a, b = eval(input().replace(' ', ','))
print("{} {}".format(a*b, 2(a+b)))

Submission status: Runtime Error

Solution code:
a=input()
s=int(a)
if s<86400 and s>=0:

    h=int(s/3600)
    m=int((s-h*3600)/60)
    s=s-h*3600-m*60

    print(h,":",m,":",s)

else:
    exit()

Submission status: Runtime Error

Solution code:
hen = map(int(input()))

print(hen[0]*hen[2] " " hen[0]*2+hen[2])

Submission status: Runtime Error

Solution code:
hen = map(int(input().split())

print(hen[0]*hen[1]  hen[0]*2+hen[1]*2)

Submission status: Runtime Error

Solution code:
a,b = map(int(input().split())

print(a*b, ,a*2 + b*2)

Submission status: Runtime Error

Solution code:
a,b = map(int,input().split()

print(a*b, a*2 + b*2)

Submission status: Runtime Error

Solution code:
a,b=map(int, input().split())
print(a*b +' '+2*a*b)

Submission status: Runtime Error

Solution code:
a,b=map(int, input().split())
print(a*b,2a+2b)

Submission status: Runtime Error

Solution code:
x = input()
x = x.split()
s = x[1] * x[2]
l = s * (x[1] + x[2])
print(s, l)

Submission status: Runtime Error

Solution code:
x = list(input().split)
print(x[1]*x[2], 2*(x[1]+x[2]))

Submission status: Runtime Error

Solution code:
x = list(input().split())
s = x[0]*x[1]
l = 2*(x[0]+x[1])
print(s, l)

Submission status: Runtime Error

Solution code:
x1 = input()
x2 = input()
x1 = int(x1)
x2 = int(x2)
x3 = x1+x2
print(x3)

Submission status: Runtime Error

Solution code:
import sys

args = sys.argv
a = int(args[1])
b = int(args[2])

print(a*b)
print(2*a+2*b)

Submission status: Runtime Error

Solution code:
import sys

args = sys.argv
a = int(args[1])
b = int(args[2])

def P(x,y):
 print(x*y)
 print(2*x+2*y)
 return 0

P(a,b)

Submission status: Runtime Error

Solution code:
import sys

args = sys.argv
a = int(args[1])
b = int(args[2])

def P(x,y):
 print(x*y,2*(x+y))
 return 0

P(a,b)

Submission status: Runtime Error

Solution code:
import sys

args = sys.argv
a = int(args[0])
b = int(args[1])

def P(x,y):
 print(x*y,2*(x+y))
 return 0

P(a,b)

Submission status: Runtime Error

Solution code:
a = input()
b = input()
a = int(a)
b = int(b)

def P(x,y):
 print(x*y,2*(x+y))
 return 0

P(a,b)

Submission status: Runtime Error

Solution code:
x = int(input())
y = int(input())

print(x*y)

Submission status: Runtime Error

Solution code:
x,y = int(input())

print(x*y,x*2+y*2)

Submission status: Runtime Error

Solution code:
x = int(input())
y = int(input())

print(x*y,x*2+y*2)

Submission status: Runtime Error

Solution code:
x = input()
y = input()

int(x,y)

print(x*y,x*2+y*2)

Submission status: Runtime Error

Solution code:
a = input()
b = input()

int(a,b)

print(a*b,a*2+b*2)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

print(a*b,a*2+b*2)

Submission status: Runtime Error

Solution code:
a,b=int(input()).split()
print("{0} {1}".format(a*b,a*2+b*2))

Submission status: Runtime Error

Solution code:
a,b=int(input().split())
print("{0} {1}".format(a*b,a*2+b*2))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

print(str(a*b) + " " + str(2a + 2b))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
 
print(str(a*b) ,str(2a + 2b))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
  
print(str(a*b)+""+str(2a + 2b))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
  
print(str(a*b)+" "+str(2a + 2b))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
  
print(str(a*b)+" "+str(a*2 + b*2))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
  
print(str(a*b)+""+str(a*2 + b*2))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
  
print(str(a*b), str(a*2 + b*2))

Submission status: Runtime Error

Solution code:
z = int(input())
m,l = z.split()
print({} {}.format(m*l,m*2+l*2))

Submission status: Runtime Error

Solution code:
z = input()
m,l = z.split()
s = int(m) * int(l)
n = int(m)*2 + int(l)*2

print({} {}.format(s,n))

Submission status: Runtime Error

Solution code:
z = input()
m,l = z.split()
s = int(m) * int(l)
n = int(m)*2 + int(l)*2

print({} {}.format(str(s),str(n)))

Submission status: Runtime Error

Solution code:
print(a*b,2*(a+b),'\n')

Submission status: Runtime Error

Solution code:
x, y = raw_input().split(' ')
print '{} {}'.format(x*y, (x+y)*2)

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())
s = a * b
t = a * 2 + b * 2
print(s t)

Submission status: Runtime Error

Solution code:
a,b = map(int, input().split())
x = a*b
y = 2a + 2b

Submission status: Runtime Error

Solution code:
n = input().split()
a = int(n[0])
b = int(n[1])

print('{} {}'.format(a*b,2*a+2*b)

Submission status: Runtime Error

Solution code:
n = input().split()
a = int(n[0])
b = int(n[1])
s = a*b
l = 2*a+2*b

print('{} {}'.format(s,l)

Submission status: Runtime Error

Solution code:
x,y = map(int,input().split().strip())
print(x*y)
print(2*(x+y))

Submission status: Runtime Error

Solution code:
x,y = map(int,input().split().strip())
print(x*y," ",2*(x+y))

Submission status: Runtime Error

Solution code:
x,y = map(int,input().split().strip())
s=x*y
p=2*(x+y)
print("%d %d"%(s,p))

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
e=a*b
c=a*2+b*2
print(e,c)

Submission status: Runtime Error

Solution code:
a=int(input().split())
print(a[0]*a[1],(a[0]+a[1])*2)

Submission status: Runtime Error

Solution code:

a=input().split()

b=a[0]*a[1]
c=(a[0]+a[1])*2
print(b,c)

Submission status: Runtime Error

Solution code:
x,y=[int(i) for i in input(num).split()]
print(x*y,(x+y)*2)

Submission status: Runtime Error

Solution code:
# coding: utf-8

import codecs
import sys

sys.stdout = codecs.getwriter("shift_jis")(sys.stdout) # ??????
sys.stdin = codecs.getreader("shift_jis")(sys.stdin) # ??\???

# ??\??¬?????????print??????????????´?????? print(u'?????????') ??¨??????
# ??\??¬?????????input??? input(u'?????????') ??§OK
# ??°?¢???????????????????????????´??????6,7???????????????????????¢??????

height, width = map(int, raw_input.split(" "))
print("{0} {1}".format(height*width, 2*(height+width)))

Submission status: Runtime Error

Solution code:
# coding: utf-8
"""
import codecs
import sys

sys.stdout = codecs.getwriter("shift_jis")(sys.stdout) # ??????
sys.stdin = codecs.getreader("shift_jis")(sys.stdin) # ??\???

# ??\??¬?????????print??????????????´?????? print(u'?????????') ??¨??????
# ??\??¬?????????input??? input(u'?????????') ??§OK
# ??°?¢???????????????????????????´??????6,7???????????????????????¢??????
"""
height, width = map(int, raw_input.split(" "))
print("{0} {1}".format(height*width, 2*(height+width)))

Submission status: Runtime Error

Solution code:
height, width = map(int, raw_input.split(" "))
menseki = height * width
nagasa = 2 * (height + width)
print menseki, nagasa

Submission status: Runtime Error

Solution code:
deglist = raw_input.split(" ")
height = int(deglist[0])
width = int(deglist[1])
menseki = height * width
nagasa = 2 * (height + width)
print menseki, nagasa

Submission status: Runtime Error

Solution code:
a,b=[int(i),for i in input().split()]
c = a*b
print(c)

Submission status: Runtime Error

Solution code:
a,b=[int(i),for i in input().split( )]
c = a*b
print(c)

Submission status: Runtime Error

Solution code:
a, b=print()
print(a*b (a+b)*2)

Submission status: Runtime Error

Solution code:
x=int(split(input()," "))
a=x[0]
b=x[1]
print(str(a*b)+' '+str(2*(a+b)))

Submission status: Runtime Error

Solution code:
x=int(input().split())
a=x[0]
b=x[1]
print(str(a*b)+' '+str(2*(a+b)))

Submission status: Runtime Error

Solution code:
a,b=int(input().split())
print(str(a*b)+' '+str(2*(a+b)))

Submission status: Runtime Error

Solution code:
a = int(input("?????¢??????????????\????????????????????????"))
b = int(input("?????????????????\????????????????????????"))
s = a * b
l = (a * 2) + (b * 2)
print('????????¢?????¢??????',???)
print('??¨????????????',l)

Submission status: Runtime Error

Solution code:
in = input()
for i in range(0,len(in)):
  if(a[i] == ' '):
    surface = int(a[:i])*int(a[i+1:])
    edge = (int(a[:i])+int(a[i+1:]))*2
    print(str(surface) + ' ' + str(edge))

Submission status: Runtime Error

Solution code:
in = input()
for i in range(0,len(in)):
  if(in[i] == ' '):
    surface = int(in[:i])*int(in[i+1:])
    edge = (int(in[:i])+int(in[i+1:]))*2
    print(str(surface) + ' ' + str(edge))

Submission status: Runtime Error

Solution code:
inputStr = input()
for i in range(0,len(in)):
  if(inputStr[i] == ' '):
    surface = int(inputStr[:i])*int(inputStr[i+1:])
    edge = (int(inputStr[:i])+int(inputStr[i+1:]))*2
    print(str(surface) + ' ' + str(edge))

Submission status: Runtime Error

Solution code:
import sys

a = sys.argv[0]
b = sys.argv[1]
area = a*b
peri = 2a+2b
print area peri

Submission status: Runtime Error

Solution code:
num = [int(i) for i in input().split()]
print(num[0] * num[1] end = " ")
print(num[0] * 2 + num[1] *2)

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
print a*b ,a*2+b*2

Submission status: Runtime Error

Solution code:
a=input()
b=input()
print a*b ,a*2+b*2

Submission status: Runtime Error

Solution code:
x=int(input())
y=int(input())
print(x*y)
print(x*2+y*2)

Submission status: Runtime Error

Solution code:
x,y=int(input())
print(x*y, (x+y)*2)

Submission status: Runtime Error

Solution code:
x=int(input())
x1=int(input())
print(x*x1, (x+x1)*2)

Submission status: Runtime Error

Solution code:
a,b=map(int,input())
print(a*b,(a+b)*2)

Submission status: Runtime Error

Solution code:
int x,y = input().split()
print(x * y + " " + (x + y) / 2)

Submission status: Runtime Error

Solution code:
int x,y = input().split()
print(x * y + " " + (x + y) * 2)

Submission status: Runtime Error

Solution code:
int n = input().split()
x = n[0]
y = n[1]
print(x * y + " " + (x + y) * 2)

Submission status: Runtime Error

Solution code:
int x,y = input().split()
if x == y:
    print(x * y + " " + x * 4)
else
    print(x * y + " " + (x + y) * 2)

Submission status: Runtime Error

Solution code:
x,y = input().split()
if x == y:
    print(x * y + " " + x * 4)
else
    print(x * y + " " + (x + y) * 2)

Submission status: Runtime Error

Solution code:
n = input().split()
x = n[0]
y = n[1]
if x == y:
    print(x * y + " " + x * 4)
else
    print(x * y + " " + (x + y) * 2)

Submission status: Runtime Error

Solution code:
n = input().split()
x = int(n[0])
y = int(n[1])
if x == y:
    print(x * y + " " + x * 4)
else
    print(x * y + " " + (x + y) * 2)

Submission status: Runtime Error

Solution code:
x,y = input().split()
print(x * y, x * 2 + y * 2)

Submission status: Runtime Error

Solution code:
a=input().split('')
print(int(a[0])*int(a[1]), end=' ')
print(int(a[0]*2+a[1]*2)

Submission status: Runtime Error

Solution code:
a=input().split('')
print(int(a[0])*int(a[1]), end=' ')
print(int(a[0])*2+int(a[1])*2)

Submission status: Runtime Error

Solution code:
a=input()
b=input()
print(a*b)

Submission status: Runtime Error

Solution code:
a = input()
b = input()
print(a*b)

Submission status: Runtime Error

Solution code:
a = input()
b = input()
print(a + b)

Submission status: Runtime Error

Solution code:
a = input()
b = input()
print(a*b + ' ' + 2*(a+b))

Submission status: Runtime Error

Solution code:
a, b = input().split
print(a??????b + ' ' + 2??????(a+b))

Submission status: Runtime Error

Solution code:
a,b = int(raw_input().split(" "))
print a * b, 2*(a + b)

Submission status: Runtime Error

Solution code:
a = int(raw_input().split(" ")[0])
b = int(raw_input().split(" ")[1])
print a * b, 2*(a + b)

Submission status: Runtime Error

Solution code:
x = raw_input().split(" ")
a = x[0]
b = x[1]

print a * b, 2*(a + b)

Submission status: Runtime Error

Solution code:
x = raw_input().split(" ")
a = x[0]
b = x[1]
print a * b, 2*(a + b)

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())

print('{0} {1}'.format(a*b, 2a+2b))

Submission status: Runtime Error

Solution code:
import sys

for line in sys.stdin.readlines():
  a, b = map(int, line.split())

print('{0} {1}'.format(a*b, 2a+2b))

Submission status: Runtime Error

Solution code:
import fileinput

for line in fileinput.input():
  a, b = map(int, line.strip().split())

print('{0} {1}'.format(a*b, 2a+2b))

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())

m=a*b
l=2*a+2*b

print(m l)

Submission status: Runtime Error

Solution code:
x=int(input())
y=int(input())
print(x*y,end=' ')
print(x*2+y*2)

Submission status: Runtime Error

Solution code:
x = input()
y = input()
print(x*y, 2*(x+y))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
print(x*y, 2*(x+y))

Submission status: Runtime Error

Solution code:
x = int(input())
y = int(input())
print(x+y, 2*(x+y))

Submission status: Runtime Error

Solution code:
InputData=[]
while True:
    try:
        in1,in2 = map(int,raw_input().split(" "))  # Python2
        if in1==0 and in2==0 : break
        InputData.append([in1,in2])
    except EOFError:
        break

for i in range(len(InputData)):
    in1,in2 = InputData[i]
    x = int(in1) * int(in2)
	y = int(in1) + int(in2) + int(in1) + int(in2)
	)
    print(x y)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
if (3 <= a <= 5) and (3 <= b <= 5):
    print(a * b)

Submission status: Runtime Error

Solution code:
 i=input()
 
 a,b = i.split(' ')
 v,h = int(a),int(b)
 
 area = v * h
 div = 2 * (v + h)
 
 print(' '.join([str(area),str(div)]))
 ~

Submission status: Runtime Error

Solution code:
 i=input()
 
 a,b = i.split(' ')
 v,h = int(a),int(b)
 
 area = v * h
 div = 2 * (v + h)
 
 print(' '.join([str(area),str(div)]))

Submission status: Runtime Error

Solution code:
a = input()
b = input()
a = int(a)
b = int(b)
print('%d %d'%(a*b,2*a+2*b))

Submission status: Runtime Error

Solution code:
a = input()
b = input()
print('%d %d'%(int(a)*int(b),2*int(a)+2*int(b)))

Submission status: Runtime Error

Solution code:
x=input()
print(f"{x[0]*x[1}} {(x[0]+x[1])*2}")

Submission status: Runtime Error

Solution code:
x=input().split(" ")
print(f"{x[0]*x[1}} {(x[0]+x[1])*2}")

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split())
print(f'{a*b} {(a+b)*2})

Submission status: Runtime Error

Solution code:
from sys import stdin

for line in stdin:
	n = int(line)
	if n == 42:
		break
	print(n)

Submission status: Runtime Error

Solution code:
a=input()
b=input()

print(ab,2(a+b))

Submission status: Runtime Error

Solution code:
x=input()
y=input()
a=int(x)
b=int(y)

print(a*b,2(a+b))

Submission status: Runtime Error

Solution code:
a = input()
b = input()

m = a*b
s = a+b*2

print("m,s")

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

m = a*b
s = a+b*2

print("m,s")

Submission status: Runtime Error

Solution code:
a = int(input()),b = int(input())

m = a*b,s = a+b*2

print("m,s")

Submission status: Runtime Error

Solution code:
x, y = input().split()
print(x*y,x+y*2)

Submission status: Runtime Error

Solution code:
a,b = list(map(int,input().split(" "))
print(a*b,a*2+b*2)

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split())
print(a*b,(a+b)*2

Submission status: Runtime Error

Solution code:
value = input().split()
print(str(value[0]*value[1])+" "+str((value[0]+value[1])*2)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
S = a * b
L = 2 * (a + b)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
S = a * b
L = 2 * (a + b)
print(S L)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
S = a * b
L = 2 * (a + b)
print("S L")

Submission status: Runtime Error

Solution code:
print (a*b)
print (2*a + 2*b)

Submission status: Runtime Error

Solution code:
spam=input().split(' ')
print(' '.join(spam[0] * spam[1], 2*(spam[0]+spam[1])))

Submission status: Runtime Error

Solution code:
spam=input().split(' ')
print(' '.join(spam[0] * spam[1], 2*(spam[0]+spam[1])))
return 0

Submission status: Runtime Error

Solution code:
l = input().split()
a = l[0]
b = l[1]

L = 2 * (a + b)
S = a * b

print(S, L)

Submission status: Runtime Error

Solution code:
l = map(int, raw_input().split())
S = l[0] * l[1]
L = 2 * (l[0] + l[1])

print(S, L)

Submission status: Runtime Error

Solution code:
l = map(int, input().split())
S = l[0] * l[1]
L = 2 * (l[0] + l[1])
 
print(S, L)

Submission status: Runtime Error

Solution code:
print("ようこそ！面積計算プログラムへ！")
print("ーーーーーーーーーーーーーーーー")
print("")
#実際の計算
hight = int(input("高さを入力してください："))
wide = int(input("長さを入力してください："))
area = hight*wide
length = (hight+ｗide)*2
print(area)
print(length)

Submission status: Runtime Error

Solution code:
hight = int(input("高さを入力してください："))
wide = int(input("長さを入力してください："))
area = hight*wide
length = (hight+ｗide)*2
print(area)
print(length)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
area = a*b
length = (a+b)*2
print(area,length)

Submission status: Runtime Error

Solution code:
x = map(int, raw_input().split())
print(x[0]*x[1]+' '+(x[0]+x[1])*2)

Submission status: Runtime Error

Solution code:
a,b = map(int, raw_input().split())
print x[0]*x[1],(x[0]+x[1])*2

Submission status: Runtime Error

Solution code:
a,b = map(int, raw_input().split())
print(a*b,(a+b)*2)

Submission status: Runtime Error

Solution code:
x = int(input())
y = int(input())
print(x*y)

Submission status: Runtime Error

Solution code:
x = int(input())
y = int(input())

print(x*y)
print(2*x+2*y)

Submission status: Runtime Error

Solution code:
x = int(input())
y = int(input())


print((x*y), (2*x+2*y))

Submission status: Runtime Error

Solution code:
ab = int(input().split())
print(a*b, a*2+b*2, sep=" ")

Submission status: Runtime Error

Solution code:
ab = int(input().split())
print(ab[0]*ab[1], ab[0]*2+ab[1]*2, sep=" ")

Submission status: Runtime Error

Solution code:
data = input().split()
a = data[0]
b = data[1]
print(int(a) * int(b))
print(2 * (int(a) + int(b))

Submission status: Runtime Error

Solution code:
data = input().split()
a = data[0]
b = data[1]
print(int(a) * int(b),2 * (int(a) + int(b))

Submission status: Runtime Error

Solution code:
data = input().split()
a = data[0]
b = data[1]
print(int(a) * int(b), 2 * (int(a) + int(b))

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
print(a*b)

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
print(a*b," ",2*(a+b))

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
print(a*b,' ',2*(a+b))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
print(a*b)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
print(a*b)
print(2*( a + b ))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
print(a*b,end = '')
print(2*( a + b ))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
print(a*b,end = ' ')
print(2*( a + b ))