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:
l = map( int , raw_input().split())

s = l[0] * l[1]
r = ( l[0] + l[1] ) * 2

print s+' '+r

Submission status: Runtime Error

Solution code:
l = map( int , raw_input().split())

s = l[0] * l[1]
r = l[0] + l[0] + l[1] + l[1]

print s + ' ' + r

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()
print a*b 2*(a + b)

Submission status: Runtime Error

Solution code:
a = input(),
b = input()
print a*b,
print 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 = input()
b = input()
print a*b
print 2*(a + b)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys
param=sys.argv
menseki=int(param[1])*int(param[2])
nagasa=int(param[1])*2+int(param[2])*2
print(menseki nagasa)

Submission status: Runtime Error

Solution code:
import sys
param=sys.argv
menseki=int(param[1])*int(param[2])
nagasa=int(param[1])*2+int(param[2])*2
print(menseki\  nagasa)

Submission status: Runtime Error

Solution code:
import sys
param=sys.argv
menseki=int(param[1])*int(param[2])
nagasa=int(param[1])*2+int(param[2])*2
print(menseki,nagasa)

Submission status: Runtime Error

Solution code:
import sys
param=sys.argv
menseki=int(param[1])*int(param[2])
nagasa=int(param[1])*2+int(param[2])*2
print menseki nagasa

Submission status: Runtime Error

Solution code:
import sys
param=sys.argv
menseki=int(param[1])*int(param[2])
nagasa=int(param[1])*2+int(param[2])*2
print(str(menseki)+" "+str(nagasa))

Submission status: Runtime Error

Solution code:
import sys
param=input().split()
menseki=int(param[0])*int(param[1])
nagasa=int(param[0])*2+int(param[1])*2
print(menseki nagasa)

Submission status: Runtime Error

Solution code:
a = raw_input() . split()

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

Submission status: Runtime Error

Solution code:
a = raw_input() . split()

S = a[0] * a[1]
O = 2 * (a[0] + a[1])

print S + O

Submission status: Runtime Error

Solution code:
a = raw_input() . split()

S = a[0] * a[1]
O = 2 * (a[0] + a[1])

print S
print O

Submission status: Runtime Error

Solution code:
a = raw_input() . split()

S = a[0] * a[1]
O = 2 * (a[0] + a[1])

print S, O

Submission status: Runtime Error

Solution code:
a = raw_input(). split()
S = a[0] * a[1]
O = 2 * a[0] + 2 * a[1]

print S , O

Submission status: Runtime Error

Solution code:
a , b= raw_input(). split()
S = a * b
O = 2 * a + 2 * b

print str(S) + ' ' str(O)

Submission status: Runtime Error

Solution code:
a , b= raw_input(). split()
S = a * b
O = 2 * a + 2 * b

print str(S) + ' ' +  str(O)

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:
lists = split( )
a = int(lists[0])
b = int(lists[1])
sq = a * b
length = (a + b) * 2
print(sq, length)

Submission status: Runtime Error

Solution code:
lists = split( )
a = int(lists[0])
b = int(lists[1])
sq = a * b
length = a * 2 + b * 2
print(sq, length)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = raw_input()
x,y = a.split
n = int(x)
m = int(y)
print n*m + " " + n*2 + m*2

Submission status: Runtime Error

Solution code:
a = raw_input()
x,y = a.split()
n = int(x)
m = int(y)
print n*m + " " + n*2 + m*2

Submission status: Runtime Error

Solution code:
a = raw_input()
x,y = a.split(" ")
n = int(x)
m = int(y)
print n*m + " " + n*2 + m*2

Submission status: Runtime Error

Solution code:
a = raw_input()
x,y = a.split(" ")
n = int(x)
m = int(y)
S = n*m
SUM = n * 2 + m * 2
print S + " " + SUM

Submission status: Runtime Error

Solution code:
a = raw_input()
[x,y] = a.split(" ")
n = int(x)
m = int(y)
S = n*m
SUM = n * 2 + m * 2
print S + " " + SUM

Submission status: Runtime Error

Solution code:
a = raw_input().split(" ")
n = int(a[0])
m = int(a[1])
S = n*m
SUM = n * 2 + m * 2
print S + " " + SUM

Submission status: Runtime Error

Solution code:
a = raw_input()
x,y = a.split(" ")
n = int(a[0])
m = int(a[1])
S = n*m
SUM = n * 2 + m * 2
print S + " " + SUM

Submission status: Runtime Error

Solution code:
a = input()
b = input()
print a*b,2 * (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 = 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,2*(a+b)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys

argv = sys.argv
x = int(argv[1])
y = int(args[2])
print x*y,
print 2*x+2*y,

Submission status: Runtime Error

Solution code:
import sys
argv = sys.argv
x = int(argv[1])
y = int(argv[2])
print x*y,
print 2*x+2*y

Submission status: Runtime Error

Solution code:
import sys
argv = sys.argv
x = int(argv[1])
y = int(argv[2])
print x*y,
print " "
print 2*x+2*y

Submission status: Runtime Error

Solution code:
import sys
argv = sys.argv
x = int(argv[1])
y = int(argv[2])
print x*y,
print " ",
print 2*x+2*y

Submission status: Runtime Error

Solution code:
l  = raw_input().split()

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

l = raw_input().split()

Submission status: Runtime Error

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

l = raw_input().split()

Submission status: Runtime Error

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

print "%d %d" % (s, l)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = raw_input().split()
area=a[0]*a[1]
length=2*(a[0]+a[1])
print area+" "+length

Submission status: Runtime Error

Solution code:
a = raw_input().split()
area=a[0]*a[1]
length=2*(a[0]+a[1])
print area,length

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n=input()
m=input()
print n*m

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

print(a*b2*(a+b))

Submission status: Runtime Error

Solution code:
a, b=int(map(input()))
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:
import sys
x = sys.stdin.readline()
y = list(x)
i = 2
del y[1]
del y[2]
y = map(int, y)
z = y[0]*y[1]
w = (y[0]+y[1])*2
print z, w

Submission status: Runtime Error

Solution code:
print a*b

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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:
# coding: utf-8

i = input()
menseki=int(i[0])*int(i[2])
nagasa=(int(i[0])+int(i[2]))*2
print(menseki,nagasa)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

print a 
print b

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
print (a*b)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = input()
b = a.split(' ')
c = b[0]
d = b[1]
cint = int(c)
dint = int(d)
ans = cint * dint
ans

ans2 = cint + cin?? + dint + dint
ans2

Submission status: Runtime Error

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

s = (a + b) * 2
m = a * b
print(m, s)

Submission status: Runtime Error

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

s = int((a + b) * 2)
m = int(a * b)
print(m, s)

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:
n = raw_input()

a = n.split()

b = a[0] * a[1]

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

print b c

Submission status: Runtime Error

Solution code:
n = raw_input()

a = n.split()

b = a[0] * a[1]

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

print b , c

Submission status: Runtime Error

Solution code:
n = raw_input()

a = int(n.split())

b = a[0] * a[1]

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

print b , c

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# coding: utf-8
a = int(input())
b = int(input())

menseki = a * b

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

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=(input())
b=float(input())
print(a*b,2*(a+b))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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:
#coding: utf-8

line=input()
lines=line.split(" ")

a=lines[0]
b=lines[1]

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

Submission status: Runtime Error

Solution code:
#coding: utf-8

line=input()
lines=line.split(" ")

a=lines[0]
b=lines[1]

print ("%s %s",(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:
ab = input().split()
print(ab[0]*ab[1])

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a, b = [int(i) for i in input().split()]
print(a, b)javascript:void(0)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b = [int(i) for i in input().split()]
print(a * b,(a + 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:
[a,b]=map(int,raw_input().split())
print(a*b,(a+b)*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:
a,b=map(int,input().split())
print a*b,(a+b)*2

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print(a * b)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
line = raw_input()
a = line.split(" ")
s = a[0] * a[1]
len = 2 * s
print str(s) + " " + str(len)

Submission status: Runtime Error

Solution code:
line = raw_input()
a = line.split(" ")
s = a[0] * a[1]
len = 2 * (a[0] + a[1])
print str(s) + " " + str(len)

Submission status: Runtime Error

Solution code:
line = raw_input()
a = line.split()
s = a[0] * a[1]
len = 2 * (a[0] + a[1])
print str(s) + " " + str(len)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#coding:utf-8
a = input()
b = input()
print (str(a*b) + " " + str(2*a+2*b))

Submission status: Runtime Error

Solution code:
#coding:utf-8
a = input()
b = input()
print a*b, 2*a+2*b

Submission status: Runtime Error

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

print(x*y end=""2*(x*y))

Submission status: Runtime Error

Solution code:
a = [int(item) for item in input().split()]

print(2*(a[0]+a[1]) + " " + a[0]*a[1])

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x = input().split()

y = map(int, x)

a = y[0]
b = y[1]

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

print ("c, d")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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,b=map(int,input().split())
print(a*b (a+b)*2)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

if a<b :
    print('a<b')
elif a>b :
    print('a>b')
else a=b :
    print('a==b')

Submission status: Runtime Error

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

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

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:
data = int(input().split())
S = data[0]*data[1]
L = 2*(data[0]+data[1])
print(S, L)

Submission status: Runtime Error

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

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=int(input())
b=int(input())
print(a*b (a+b)*2)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#coding: UTF-8

def Rectangle_Area(a,b):
    return a*b

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

if __name__=="__main__":
    a = input()
    b = input()
    area = Rectangle_Area(int(a),int(b))
    length = Rectangle_Length(int(a),int(b))
    print(area,length)

Submission status: Runtime Error

Solution code:
#coding: UTF-8

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

if __name__=="__main__":
    a = input()
    b = input()
    area,length = Rectangle(int(a),int(b))
    print(area,length)

Submission status: Runtime Error

Solution code:
#coding: UTF-8

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

if __name__=="__main__":
    a = input()
    b = input()
    area,length = Rectangle(int(a),int(b))
    print(area,length)

Submission status: Runtime Error

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

menseki = a * b
print(menseki)

nagasa = a + a + b + b
print(nagasa)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a, b = [int(x) for x in input().split(' ')]
print('{0} {1}').format(a*b, (a+b)*2)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x=input(vertical:)
y=input(horizontal:)
z=int(x)*int(y)
l=int(x)+int(y)
print(z l)

Submission status: Runtime Error

Solution code:
x=()
y=()
z=int(x)*int(y)
l=int(x)+int(y)
print(z l)

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 = int(input())
b = int(input())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
# coding: utf-8
# Here your code !
a = input()
b = input()
men = a*b
syu = a*2 + b*2
print men ,
print syu ,

Submission status: Runtime Error

Solution code:
# coding: utf-8
# Here your code !
a = input()
b = input()
x = a*b
y = a*2 + b*2
print "%d"%x,
print "%d"%y

Submission status: Runtime Error

Solution code:
# coding: utf-8
# Here your code !
x = input().split()
a = x[0]
b = x[1]
men = a*b
syu = a*2+b*2
print men,
print syu

Submission status: Runtime Error

Solution code:
# coding: utf-8
# Here your code !
x = input().split()
a = x[0]
b = x[1]
men = a*b
syu = a*2+b*2
print men
print syu

Submission status: Runtime Error

Solution code:
# coding: utf-8
# Here your code !
x = input().split()
a = x[0]
b = x[1]
m = a*b
s = a*2+b*2
print m, s

Submission status: Runtime Error

Solution code:
# coding: utf-8
# Here your code !
a, b = map(int, input().split())
m = a * b
s = a * 2 + b * 2
print m, s

Submission status: Runtime Error

Solution code:
# coding: utf-8
# Here your code !
a, b = map(int, raw_input().split())
m = a * b
s = a * 2 + b * 2
print(s,m)

Submission status: Runtime Error

Solution code:
a=0
b=0

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

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

Submission status: Runtime Error

Solution code:
a=0
b=0

a=int(input())
b=int(input())
print(a*b)
print(2*a+2*b)

Submission status: Runtime Error

Solution code:
ary = input().split(" ")
print(ary(0)*ary(1))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x, y = input().split()

a = x * y
b = x**2 + y**2
print("{} {}".format(a, b))

Submission status: Runtime Error

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

a = x * y
b = x**2 + y**2
print("{} {}".format(a, b))

Submission status: Runtime Error

Solution code:
print("{0}{1}".format(*(lambda a:lambda b:[a*b,a+b])(int(input()))(int(input()))))

Submission status: Runtime Error

Solution code:
import sys

map(int, [a,b]) = sys.stdin.readlines().strip()

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

Submission status: Runtime Error

Solution code:
import sys

[a,b] = [int(x) for x in sys.stdin.readlines().strip()]


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

Submission status: Runtime Error

Solution code:
import sys

[a,b] = [int(x) for x in sys.stdin.readlines().strip().split()]


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

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:
A,B =map(int, raw_input().split())
print(A*B, A*2 + B*2)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
values = input()
height, width = [int(x) for x in values.split()]
print(' '.join(height * width, height * 2 + width * 2))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import java.io.BufferedReader;
import java.io.InputStreamReader;

class Main{
  public static void main(String[] args) throws Exception{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String[] line = br.readLine().split(" ");
    int x = Integer.parseInt(line[0]);
    int y = Integer.parseInt(line[1]);
    System.out.println(x*y+" "+(x+y)*2);
  }
}

Submission status: Runtime Error

Solution code:
l = map(int,raw_input().split())

print(l[0]*l[1])
print(" ")
print(l[0]*2+[1]*2)

Submission status: Runtime Error

Solution code:
import sys

ARGV = sys.argv[:]     
num = ARGV[1] * ARGV[2]
length = (ARGV[1] * 2) + (ARGV[2] * 2)
print(num + " " + length, end="\n")

Submission status: Runtime Error

Solution code:
import sys

a = int(sys.argv[1])
b = int(sys.argv[2])
num = a * b
length = (a * 2) + (b * 2)
print(num + " " + length, end="\n")

Submission status: Runtime Error

Solution code:
import sys

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

if (a >= 1) or (b <= 100):
    num = a * b
    length = (a * 2) + (b * 2)
    print(num + " " + length, end="\n")
else:
    pass

Submission status: Runtime Error

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

if (a >= 1) or (b <= 100):
    num = a * b
    length = (a * 2) + (b * 2)
    print(num + " " + length, end="\n")
else:
    pass

Submission status: Runtime Error

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

if (a >= 1) or (b <= 100):
    num = a * b
    length = (a * 2) + (b * 2)
    print(num + " " + length, end="\n")
else:
    pass

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
list = input().split(' ')

area = list[0] * list[1]

circum = (list[0] + list[1]) * 2

print(str(area) + " " + str(circum))

Submission status: Runtime Error

Solution code:
list = input().split(' ')

print(str(list[0] * list[1]) + ' ' + str((list[0] + list[1]) * 2)

Submission status: Runtime Error

Solution code:
list = input().split(' ')

x = int(list[0]) * int(list[1])
y = (int(list[0]) + int(list[1])) * 2

print('{} {}').format(x,y)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
  n = raw_input()
  a = n.split(" ")
  b = int(a[0])
  c = int(a[1])
  print b*c, (b+c)*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(input().split())

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

Submission status: Runtime Error

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

print(str(c)+" "+str(d))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
lis=0
S=0
L=0
lis=input().split()
S=lis[0]*lis[1]
L=lis[0]*2+lis[1]*2
print(S L)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = int(raw_input())
b = int(raw_input())
print(str(a*b) + ' ' + str((a+b)*2))

Submission status: Runtime Error

Solution code:
data = raw_input()
dlist = data.split(' ')
a = int(dlist[0])
b = int(dlist[1])

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

Submission status: Runtime Error

Solution code:
data = raw_input()
dlist = data.split(' ')
a = int(dlist[0])
b = int(dlist[1])

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

Submission status: Runtime Error

Solution code:
# -*- coding:utf-8 -*-

x,y = int(input()),int(input())

print(x*y)