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

x = input()
a = x[0]
b = x[2]

area = int(a) * int(b)
length = int(a)*2 + int(b)*2

print(area,length)

Submission status: Runtime Error

Solution code:
print '%d %d' % (a, b)

Submission status: Runtime Error

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

print '%d %d' % (a, b)

Submission status: Runtime Error

Solution code:
print a, b

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print a*a, b*b

Submission status: Runtime Error

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

if a<1 or 100<a or b<1 or 100<b:
	print("Error!")
else:
	area = a*b
	cir = (a+b)*2
print(area)
print(cir)

Submission status: Runtime Error

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

if 1<=a and a<= 100 and 1<=b and b<=100:
	area = a*b
	cir = (a+b)*2
	print(area)
	print(cir)
else:
	print("Error!")

Submission status: Runtime Error

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

if 1<=a and a<= 100 and 1<=b and b<=100:
	area = a*b
	cir = (a+b)*2
	print(area,cir)
else:
	print("Error!")

Submission status: Runtime Error

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

area = a*b
cir = (a+b)*2
print(area,cir)

Submission status: Runtime Error

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

area = a*b
cir = (a+b)*2
print(area, cir)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = map(int,raw_input().split())
s = l[0] * l[1]
shu = l[0] * 2 + l[1] * 2
fmt = "{s} {shu}"
s = fmt.format(s = s,shu = shu)
print(s)

Submission status: Runtime Error

Solution code:
a,b = input().split()
s = a * b
shu = a * 2 + b * 2
fmt = "{s} {shu}"
s = fmt.format(s = s,shu = shu)
print(s)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
i = map(int, raw_input().split())
x = i[0] * i[1]
y = (i[0] + i[1]) * 2
z = " ".join([x,y]);
print(z)

Submission status: Runtime Error

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

if 1<=a and a<= 100 and 1<=b and b<=100:
	area = a*b
	cir = (a+b)*2
	print(area, cir)

Submission status: Runtime Error

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

if 1<=a and a<= 100 and 1<=b and b<=100:
	area = a*b
	cir = (a+b)*2
	print(area, cir)
else:
print("error")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#!usr/bin/env python3

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

def main():
    print(rect(int(input()), int(input())))

if __name__ == '__main__':
    main()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
input_str = input()

split_list = input_str.split()

print((int(split_list[0]) * int(split_list[1]),)

print(" ",)

print((int(split_list[0]) * 2 + int(split_list[1]) * 2))

Submission status: Runtime Error

Solution code:
input_str = input()

split_list = input_str.split()

print((int(split_list[0]) * int(split_list[1]),)

print((int(split_list[0]) * 2 + int(split_list[1]) * 2))

Submission status: Runtime Error

Solution code:
input_str = input()

split_list = input_str.split()

print((int(split_list[0]) * int(split_list[1]),(int(split_list[0]) * 2 + int(split_list[1]) * 2))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
ab=input()
print(ab[0]*ab[1],ab[0]*2+ab[1]*2)

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:
a0 = input()
b0 = input()

a = float(a0)
b = float(b0)

s=a*b

l=2*a+2*b

print(s l)

Submission status: Runtime Error

Solution code:
a0 = input()
b0 = input()

a = int(a0)
b = int(b0)

s=a*b

l=2*a+2*b

print(s l)

Submission status: Runtime Error

Solution code:
a0 = input()
b0 = input()

a = int(a0)
b = int(b0)

s=a*b

l=2*a+2*b

print(s +l)

Submission status: Runtime Error

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

s=a*b

l=2*a+2*b

print(s +l)

Submission status: Runtime Error

Solution code:
a0, b0 = input(), input()

a = int(a0)
b = int(b0)
??
s=a*b

l=2*a+2*b

print(s +l)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
input = list(map(lambda n: int(n), input().split(' '))
a = input[0]
b = input[1]
x = a * b
y = (a + b) * 2
print("{} {}".format(a, b))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s = raw_input().rstrip.split(" ")
a = int(s[0])
b = int(s[1])
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 = [temp for temp in input().split()]
print(a * b, (a + b) * 2)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b=int(input())
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 = list(map(int, input().split())
s = a * b
l = 2 * a + 2 * b
print(s, l)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
if 1 <= a <= 100  1 <= b <= 100:
    c = a * b
    print(c)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
if 1 <= a <= 100 and 1 <= b <= 100:
    c = a * b
    d = 2(a + b)
    print(c''d)

Submission status: Runtime Error

Solution code:
x = input()
a, b = x.split()
if 1 <= a <= 100 and 1 <= b <= 100:
    c = a * b
    d = 2(a + b)
    print(c''d)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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 = a*b
L = 2*(a+b)
print(S,end='')
print(L)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
h=[a,b]
map(int(input(),h))
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:
import sys
args = sys.argv
a=int(args[1])
b=int(args[2])
print (a*b,a*2+b*2)

Submission status: Runtime Error

Solution code:
import sys

a=sys.argv[1]
b=sys.argv[2]

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

print(int(a,b))

Submission status: Runtime Error

Solution code:
import sys

a=sys.argv[1]
b=sys.argv[2]

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

Submission status: Runtime Error

Solution code:
import sys

a=sys.argv[1]
b=sys.argv[2]

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

Submission status: Runtime Error

Solution code:
import sys
args = sys.argv
a=int(args[1])
b=int(args[2])
print(a,b)

Submission status: Runtime Error

Solution code:
import sys
argvs = sys.argv
a=int(argvs[1])
b=int(argvs[2])
print(a*b,a*2+b*2)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
while True:
    h, w = map (int,input().split(" "))
    if h == w == 0 : break
    for y in range(h):
        print(''.join('#.'[(x+y) %2] for x in range(w)))
    print("")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys

x, y = sys.stdin
z=x*y
a=(x+y)*2
print(z,a)

Submission status: Runtime Error

Solution code:
import sys
x, y = sys.stdin()
z=x*y
a=(x+y)*2
print(z,a)

Submission status: Runtime Error

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

area = int(a) * int(b)
length = 2 * int(a) + 2 * int(b)

print(area length)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

area = a * b
length = 2* a + 2 * b

print(area length)

Submission status: Runtime Error

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

area = a*b
length = 2 * (a + b)

print(area length)

Submission status: Runtime Error

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

area = a * b
length = 2 * (a + b)

print(area,end=" ")
print(length)

Submission status: Runtime Error

Solution code:
ab=input().split(" ")

a=ab[1]
b=ab[2]

s=a*b
l=(a+b)*2

print(str(s)+" "+str(l))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b = map(int, input().split())
print(str(a*b) + ' ' + (a+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:
x, y = input()
print(x * y + " " + 2*x + 2*y)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#coding:UTF-8
s = input().split()
a = int(s[0])
b = int(s[1])
cir = a+b
area = a*b
print (cir,area)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b = input( , )

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

Submission status: Runtime Error

Solution code:
a,b = input( , )

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

s = a * b
l = (a + b) *2

print (s, l)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math

data = input()
data1 = input()

data = int(data)
data = int(data1)
print (data * data1," ",data*2 + data1*2)

Submission status: Runtime Error

Solution code:
import math

data = input()
data1 = input()

data = int(data)
data1 = int(data1)
print (data * data1," ",data*2 + data1*2)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
ab = input().split()
c = ab[0] * ab[1]
d = ab[0]*2 + ab[1]*2
print c, d

Submission status: Runtime Error

Solution code:
ab = raw_input().split()
c = ab[0] * ab[1]
d = ab[0]*2 + ab[1]*2
print c, d

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
b=input()
e= b.find(" ")
c= int(b[:e-1])
d= int(b[e+1:])
f= c*d
g= c+c+d+d

print ( f + " " + g )

Submission status: Runtime Error

Solution code:
x,y = map(int, input()split())
S = X * y
L = 2 * (x + y)
print(S + " " + L)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys

a,b = sys.stdin.readline().rstrip().strip(' ')
print(int(a)*int(b))

Submission status: Runtime Error

Solution code:
import sys

a,b = map(int, sys.stdin.readline().rstrip().split(' '))
print("{} {}".format(a*b, (a+b)*2)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
l = raw_input().split()
print l[0] * l[1]

Submission status: Runtime Error

Solution code:
l = raw_input().split()
print l[0]*l[1]

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a=0
b=0
list = input()
a = list[0]
b = list[2]
print(a*b,2*(a+b))

Submission status: Runtime Error

Solution code:
a=0
b=0
list = input()
a = int(list[0])
b = int(list[2])
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:
i = j = 0
n = ''
m = ''


line = input()

while line[i] != ' ':
    n = n + line[i]
    i += 1
    
while i < len(line):
    m = m + line[i]
    i += 1
    
n = int(n)
m = int(m)

print(n*m 2*n+2*m)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
[a, b] = [int(input()) for _ in range(2)]
print(a*b + " " + (a+b)*2)

Submission status: Runtime Error

Solution code:
x= input()
a = int(x[0])
b = int(x[2])
print(a*b)end
print(a*2+b*2)

Submission status: Runtime Error

Solution code:
[a, b] = [int(input()) for _ in range(2)]
print((a*b) + " " + (a+b)*2)

Submission status: Runtime Error

Solution code:
str = input()
a = str[0]
b = str[2]
print(a*b, end='')
print((a+b)*2)

Submission status: Runtime Error

Solution code:
x= input()
a = int(x[0])
b = int(x[1])
print(a*b)end
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')

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

print(int(a) * int(b))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

print("a" + " " + "b")

Submission status: Runtime Error

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

mennseki = a*b
mawari = (a*2)+(b*2)

print(mennseki,mawari)

Submission status: Runtime Error

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

mennseki = a*b
mawari = (a*2)+(b*2)

print(mennseki mawari)

Submission status: Runtime Error

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

print(int(a) * int(b))
print((sum(int(a),int(b)) * 2)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

print(c d)

Submission status: Runtime Error

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

print(a*b)
print(a*2+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:
x=input()
x = x.split()
a = x[0]
b = x[1]

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

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

print(c)print(d)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
#?????? a cm ?????? b cm ???????????¢?????¢?????¨??¨?????????????±???????????????°?????????????????????????????????

x = int(a + a)
y = int(b + b)
print int(x + y)

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b[int(x) for x 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:
x=input().split()
a = int(x[0])
b = int(x[1])

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

Submission status: Runtime Error

Solution code:
print int(a * b)

Submission status: Runtime Error

Solution code:
[a, b] = [int(input()) for _ in range(2)]

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
[a, b] = [int(_) for _ in 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:
  1 x=input().split()
  2 a = int(x[0])
  3 b = int(x[1])
  4 
  5 print( a*b , a*2+b*2 )                                                      
  6

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x=str(input())
n='x'.split(" ", 2)
a=n[0]
b=n[1]
ab=a*b
a_b=(a+b)*2
print('ab',end=' ')
print('a_b')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
i = input().split()
a = int(x[1])
b = int(x[-1])
print(a*b, (a+b)*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:
x=str(input())
n=x.split(" ", 2)
a=n[0]
b=n[1]
ab=a*b
a_b=(a+b)*2
print('ab', end=' ')
print('a_b')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x = ( a * b ) * 2
z = ( a / x ) or ( b / x )
print( x, z )

Submission status: Runtime Error

Solution code:
x = input().split()
a = int(x(0))
b = int(x(0))
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+a+b+b)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b=[input

Submission status: Runtime Error

Solution code:
[a, b] = 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*2+b*2)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#?????? a cm ?????? b cm ???????????¢?????¢?????¨??¨?????????????±???????????????°?????????????????????????????????
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*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:
[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 = (int[input.split])
print (a * b,(a + b) * 2)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:


[a,b]=input(),split()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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(list1[0]+*list[1],list1[0]*2+list1[1]*2))