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:
if __name__ == '__main__':
	input_a = input()
	input_b = input()
	a = 2*input_a+2*input_b
	b = input_a*input_b
	print b," ", a

Submission status: Runtime Error

Solution code:
if __name__ == '__main__':
	input_a = input()
	input_b = input()
	
	print input_a*input_b," ",2*input_a+2*input_b

Submission status: Runtime Error

Solution code:
if __name__ == '__main__':
	input_a = input()
	input_b = input()
	
	print input_a*input_b,2*input_a+2*input_b

Submission status: Runtime Error

Solution code:
input_a = input()
input_b = input()
	
print input_a*input_b,2*input_a+2*input_b

Submission status: Runtime Error

Solution code:
input_a = input()
input_b = input()
	
print input_a*input_b," ",2*input_a+2*input_b

Submission status: Runtime Error

Solution code:
input_a = input()
input_b = input()
	
print (input_a*input_b, " ", 2*input_a+2*input_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:
import sys

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

Submission status: Runtime Error

Solution code:
import sys
def solve():
  for x in sys.stdin:
  a,b = map(int,raw_input().split())
  print a*b,2*a+2*b
  
if __name__ == "__main__":
  solve()

Submission status: Runtime Error

Solution code:
#coding utf-8
x=input()
y=input()

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

Submission status: Runtime Error

Solution code:
params = input().rstrip().split('')
square = int(params[0]) * int(params[1])
length = (int(params[0]) + int(params[1])) * 2

print(square, length)

Submission status: Runtime Error

Solution code:
params = input().rstrip().split('')
square = int(params[0]) * int(params[2])
length = (int(params[0]) + int(params[1])) * 2

print(square, length)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
n=int(raw_input())
k=int(raw_input())
s=n*k
l=2*(n+k)
print s,l

Submission status: Runtime Error

Solution code:
n, k =int(raw_input()), int(raw_input())
s=n*k
l=2*(n+k)
print s,l

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys

(a, b) = [int(i) for i in sys.readline().split()]
print("%d %d" % (a * b, (a + b) * 2))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys

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

print a*b

Submission status: Runtime Error

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

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

print(a b)

Submission status: Runtime Error

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

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

print(a b)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
atai = input().split()
a = (atai[0])
b = (atai[1])
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:
#include <stdio.h>
int main(void) {
	int x;
	
    scanf("%d", &x);
    printf("%d\n", x*x*x);

    return 0;

}

Submission status: Runtime Error

Solution code:
#!/usr/bin/python
# -*- coding: utf-8 -*-


a,b = input()
print "%d %d"% (a*b, 2*(a+b))

Submission status: Runtime Error

Solution code:
s=int(raw_input())
h=s/3600
m=(s-3600*h)/60
print "%d:%d:%d"%(h,m,s-3600*h-60*m)

Submission status: Runtime Error

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

a = int(x[0])
b = int(x[1])

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

Submission status: Runtime Error

Solution code:
????????????

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys

vert_len = int(sys.argv[1])
hori_len = int(sys.argv[2])
area_size = vert_len * hori_len
circular_len = 2 * vert_len + 2 * hori_len

Submission status: Runtime Error

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

print(str(men) + " "  + str(shu)

Submission status: Runtime Error

Solution code:
data = input()
len = data.split()
ans = int(data[0]) * int(data[1])
print('{0}'.format(ans))

Submission status: Runtime Error

Solution code:
input = raw_input()
s = int(input.split()[0])
l = int(input.split()[1])
ans_1 = s*l
ans_2 = 2*(s+l)

print src(ans_1)+" "+src(ans_2)

Submission status: Runtime Error

Solution code:
inport sys

x = sys.stdin.readline()

a, b = x.split(" ")

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

print S,l

Submission status: Runtime Error

Solution code:
import sys

line = sys.stdin.readline()

tate, yoko = line.split(" ")

S = tate * yoko
T = 2 * (tate + yoko)

print S, T

Submission status: Runtime Error

Solution code:
import sys

line = sys.stdin.readline()

tate, yoko = line.split(" ")

S = tate * yoko
T = 2 * (tate + yoko)

print S, " " T

Submission status: Runtime Error

Solution code:
import sys

line = sys.stdin.readline()

tate, yoko = line.split(" ")

S = tate * yoko
T = 2 * (tate + yoko)

print S, " ", T

Submission status: Runtime Error

Solution code:
inport sys

x = sys.stdin.readline()

a, b = x.split(" ")

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

print S l

Submission status: Runtime Error

Solution code:
inport sys

x = sys.stdin.readline()

a, b = x.split(" ")

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

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

print S l

Submission status: Runtime Error

Solution code:
import sys

line = sys.stdin.readline()

tate, yoko = line.split(" ")

tate = int(tate)
yoko = int(yoko)

S = tate * yoko
T = 2 * (tate + yoko)

print ('%d %d") % (S, T)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
inport sys

x = sys.stdin.readline()

a, b = x.split(" ")

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

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

print '%d %d'%(S,l)

Submission status: Runtime Error

Solution code:
inport sys

x = sys.stdin.readline()

a, b = x.split(" ")

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

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

print '%d %d' % (S,l)

Submission status: Runtime Error

Solution code:
import sys

input = sys.stdin.read()
(a, b) = map(lambda x:int(x) , input.split(" "))


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

print str(x) + "?\t" + str(y)

Submission status: Runtime Error

Solution code:
import sys

input = sys.stdin.read()
(a,b) = [int(x) for x in input.split(" ")]

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

print x + "?\t" + y

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = 0
b= 0

input_numbers = raw_input()

fori in input_numbers:
   if input_numbers[0] == i:
      a = int(i)
   elif input_numbers[2] == i:
      b = int(i)

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

Submission status: Runtime Error

Solution code:
a = 0
b= 0
 
input_numbers = raw_input()
 
fori in input_numbers:
   if input_numbers[0] == i:
      a = int(i)
   elif input_numbers[2] == i:
      b = int(i)
 
print a * b, 2 * (a + b)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
num = raw_input()
num = numbers.split()
a = int(num[0])
b = int(num[1])

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = raw_input()
x = int(a[0])
y = int(a[2])
s = x * y
l = 2 * x + 2 * y
print s,l

Submission status: Runtime Error

Solution code:
using namespace std;
 
main(){
   int a, b;
   int area, length;
 
    cin >> a >> b;
 
   area = a * b;
   length =2*( a + b);
 
    cout << area << " " << length << endl;
    
 
 
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

var = raw_input().split(" ")
rect = var[0] * var[1]
length = var[0] * 2 + var[1] * 2

print rect + " " + length

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

var = raw_input().split(" ")
rect = int(var[0]) * int(var[1])
length = int(var[0]) * 2 + int(var[1]) * 2

print rect + " " + length

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

var = raw_input()
print str(var)
rect = int(var[0]) * int(var[1])
length = int(var[0]) * 2 + int(var[1]) * 2

print rect + " " + length

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

var = raw_input().split()
rect = int(var[0]) * int(var[1])
length = int(var[0]) * 2 + int(var[1]) * 2

print rect + " " + length

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

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, 2*(x+y)))

Submission status: Runtime Error

Solution code:
import sys

a,b = map(int(x) ,sys.stdin.readline().split())
area = a*b
surround = 2*(a+b)
print("%d %d" % (area, surround))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = input()

print 2*(n[0]+n[1]);
print n[0] * n[1];

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

Submission status: Runtime Error

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

print(2*(n[0]+n[1]));
print(n[0] * n[1]);

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print(2*(n[0]+n[1]));
print(n[0] * n[1]);

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print2*(a+b) a*b;

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a b = input()

print a * b
print a * 2 + b * 2

Submission status: Runtime Error

Solution code:
a = input() 
b = input()
return (a * b) + " " + (2 * a + 2 * 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, raw_input().split());

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

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

Submission status: Runtime Error

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

print"2*(a+b) "+"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, raw_input().split());

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

Submission status: Runtime Error

Solution code:
a = input() 
b = input()
return (a * b) + "" + (2 * a + 2 * 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, raw_input().split());

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
a[1] = input()
print a[0]*a[1]+' '+2*(a[0]+a[1])

Submission status: Runtime Error

Solution code:
s = a * b
print s

Submission status: Runtime Error

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

print '%d %d' %(2*(a+b), a*b)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def suuji(a,b):

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

ans1 = a * b
ans2 = 2 * ( a + b )

print ans1' 'ans2

Submission status: Runtime Error

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

ans1 = a * b
ans2 = 2 * ( a + b )

print ans1 ans2

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = raw_input()
b = raw_input()
a = int(a)
b = int(b)
s = a * b
print s

Submission status: Runtime Error

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

x = int(x)
y = int(y)

print x * y 2 * x + 2 * y

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

ans1 = a * b
ans2 = 2 * ( a + b )

print (ans1 ans2)

Submission status: Runtime Error

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

area = a * b
around = a*2 + b*2

print area around

Submission status: Runtime Error

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

ans1 = a * b
ans2 = 2 * ( a + b )

print ans1 + ' ' + ans2

Submission status: Runtime Error

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

ans1 = a * b
ans2 = 2 * ( a + b )

print ans1  ' '  ans2

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print a*b
print 2*a+2*b

Submission status: Runtime Error

Solution code:
def suuji(a,b):

print a * b ,
print a * 2 + b * 2

Submission status: Runtime Error

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

ans1 = a * b
ans2 = 2 * ( a + b )

print ans1,
print ' ',
print ans2

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a=nums[0]
b=nums[1]
print a*b 2*(a+b)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

ans1 = a * b
ans2 = 2 * ( a + b )

print ans1 ,
print ans2

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def( a , b )

ans1 = a * b
ans2 = 2 * ( a + b )

print ans1 ans2

Submission status: Runtime Error

Solution code:
a = input_a()
b = input_b()

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

Submission status: Runtime Error

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

print a * b ,
print a * 2 + b * 2

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def( a , b )

ans1 = a * b
ans2 = 2 * ( a + b )

print ans1 ' ' ans2

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

ans1 = a * b
ans2 = 2 * ( a + b )

print ans1 ' ' ans2

Submission status: Runtime Error

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

ans1 = a * b
ans2 = 2 * ( a + b )

print ans1 ' ' ans2

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

ans1 = a * b
ans2 = 2 * ( a + b )

print ans1 + ' ' + ans2

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

ans1 = a * b
ans2 = 2 * ( a + b )

print ans1 , ans2

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
a, b = map(str, raw_input().split())

print a*b (a+b)*2

Submission status: Runtime Error

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

print("%d %d"%((a*b),(2*a+2*b)))

Submission status: Runtime Error

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

print a * b ,
print a * 2 + b * 2

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
a, b = map(str, raw_input().split())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print x*y ,
print 2*x+2*y

Submission status: Runtime Error

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

print x*y ,
print 2*x+2*y

Submission status: Runtime Error

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

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

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()

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

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

Submission status: Runtime Error

Solution code:
#??????????????? : ?¨??????\??????????????????????????????, http://qiita.com/clarinet758/items/53e31ec10b873975438b
a, b = map(int, raw_input().split())

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

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

Submission status: Runtime Error

Solution code:
#??????????????? : ?¨??????\??????????????????????????????, http://qiita.com/clarinet758/items/53e31ec10b873975438b
a, b = map(int, raw_input().split())

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

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

Submission status: Runtime Error

Solution code:
#??????????????? : ?¨??????\??????????????????????????????, http://qiita.com/clarinet758/items/53e31ec10b873975438b
a, b = map(int, raw_input().split())

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

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

Submission status: Runtime Error

Solution code:
#??????????????? : ?¨??????\??????????????????????????????, http://qiita.com/clarinet758/items/53e31ec10b873975438b
#print "%d %d" % (s ,l) ???RanTimeError

a, b = map(int, raw_input().split())

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

print s, l

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

print a*2 + b*2

Submission status: Runtime Error

Solution code:
cond = map(raw_input().split())
a = cond[0]
b = cond[1]

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

Submission status: Runtime Error

Solution code:
cond = map(int, raw_input().split())
a = cond[0]
b = cond[1]

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

Submission status: Runtime Error

Solution code:
print a*b, a+a+b+b

Submission status: Runtime Error

Solution code:
print a*b, 
print a+a+b+b

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int(raw_input())
a = n[0]*n[2]
b = n[0]*2 + n[2]*2
print'%d %d'%(a, b)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b=map('raw_input()','raw_input())
c=a*b
d=2*a+2*b
print'c d'

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

print num[1] * num[2]

Submission status: Runtime Error

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

print num[1] * num[2]

Submission status: Runtime Error

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

print num[1] * num[2]

Submission status: Runtime Error

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

print num[1] * num[2]

Submission status: Runtime Error

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

print num[0] * num[1] 2*num[0] + 2*num[1]

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

print l[0] * l[1] ' ' l[0] * 2 + l[1] * 2

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = raw_input()
b = raw_input()
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())
return (a*b (a+b)*b)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

s = l[0] * l[1]
r = l[0] * 2 + 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] * 2 + l[1] * 2

print s r