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:
while True
  a = input()
  b = input()
  if a,b > 1 and a,b < 100
    print (a * b,2 * a + 2* b)

Submission status: Runtime Error

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

if a,b > 1 and a,b < 100
    print (a * b,2 * a + 2* b)

Submission status: Runtime Error

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

if a,b > 1 and a,b < 100
    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:
l = input().split()
x = int(l[0])
y = int(l[1])

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

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:
list = map(int(), input().split())
area = list[0] * list[1]
perimeter = list[0] * 2 + list[1] * 2
print(str(area) + " " + str(perimeter))

Submission status: Runtime Error

Solution code:
list = map(int(), input().split())
area = list[0] * list[1]
perimeter = list[0] * 2 + list[1] * 2
'{} {}'.format(area, perimeter)

Submission status: Runtime Error

Solution code:
list = map(int(), input().split())
area = list[0] * list[1]
perimeter = list[0] * 2 + list[1] * 2
print('%d %d' (area, perimeter))

Submission status: Runtime Error

Solution code:
list = map(int(), input().split())
area = list[0] * list[1]
perimeter = list[0] * 2 + list[1] * 2
print('{0} {1}.format(area, perimeter))

Submission status: Runtime Error

Solution code:
list = map(int(), input().split())
area = list[0] * list[1]
perimeter = list[0] * 2 + list[1] * 2
print(area)
print(perimeter)
# print('{0} {1}.format(area, perimeter))

Submission status: Runtime Error

Solution code:
list = map(int, input().split())
area = list[0] * list[1]
perimeter = list[0] * 2 + list[1] * 2
print(area)
print(perimeter)
# print('{0} {1}.format(area, perimeter))

Submission status: Runtime Error

Solution code:
l = list(map(int, input().split()))
area = l[0] * l[1]
perimeter = l[0] * 2 + l[1] * 2
print('{0} {1}.format(area, perimeter))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys
a,b = map(int(sys.stdin.readline().split()))
print(a*b,2(a+b))

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
x = int(input())**2
y = int(input())**2
print("{0:d} {1:d}".format(x,y))

Submission status: Runtime Error

Solution code:
rect = input()
listrect = rect.split(" ")
sum = 0
for i in range(len(listrect))
    sum = sum + int(listrect[i]) * 2
print(sum)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print(h*w)
print(2*h + 2*w)

Submission status: Runtime Error

Solution code:
 h, w = map(int, src.input().split())

print(h*w, 2*h+2*w)

Submission status: Runtime Error

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

print(h*w, 2*h+2*w)

Submission status: Runtime Error

Solution code:
a = int(input('tate'))
b = int(input('yoko'))
area = a*b
lenght = 2a + 2b
print(area)
print(lenght)

Submission status: Runtime Error

Solution code:
a = int(input('tate'))
b = int(input('yoko'))
area = a*b
lenght = 2*a + 2*b
print(area)
print(lenght)

Submission status: Runtime Error

Solution code:
a = int(input('tate')) b = int(input('yoko'))
area = a*b
lenght = 2*a + 2*b
print(area) print(lenght)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
z = input()

z = z.split( )

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

c=a*b
d=math.sqrt(a*a+b*b)
print(str(c)+" "+str(d))

Submission status: Runtime Error

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

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print(a*2+b*2)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
1<=a,b<=100
area = a * b
length = 2*(a+b)
print area, length

Submission status: Runtime Error

Solution code:
n=int(input())
m=int(input())
print(n*m,2*(n+m))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = 2
b = 10
print(2a + 2b)

Submission status: Runtime Error

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

print(2a+2b)

Submission status: Runtime Error

Solution code:
#coding: UTF-8

x = raw_input().split()

y = map(int, x)

a = y[0]

b = y[1]

c1 = a*b
c2 = 2(a+b)

print(c1, c2)

Submission status: Runtime Error

Solution code:
#coding: UTF-8

x = raw_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:
#coding: UTF-8

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:
 l = map(int, input().split())
print(str(l[0]*l[1]) + " " + str(l[0]*2+l[1]*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:
nums = list(map(int, input().split(" ")))
area = nums[0] * nums[1]
perimeter = nums[0] * 2 + nums[1] * 2
print(area + " " + perimeter)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
print(int(input()) ** 3)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n=input().split()
a= int(n[0])
b= int(n[1])
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:
sikaku = input()
sikaku_list = sikaku.split(' ')
sikaku_a = int(sikaku_list[0])
sikaku_b = int(sikaku_list[1])
menseki = sikaku_a * sikaku_b
syui = (sikaku_a + sikaku_b) * 2
print(menseki, ' '. syui)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s = input()
ss = s.plit(" ")
a = int(ss[0])
b = int(ss[1])
print("{} {}".format(a*b, 2*(a+b))

Submission status: Runtime Error

Solution code:

line = int(input().split)

area = line[0] * line[1] % 2

peri = line[0] * 2 + line[1] * 2

print(area + ' ' + peri)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
file:///jugyou/ise/16D8104004E/c_rectangle.py

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a=int(input("a:"))
b=int(input("b:"))
area=a*b
pm=2*a+2*b

Submission status: Runtime Error

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

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

sum = (a*2) + (b*2)

print(a*b)
print(sum)

Submission status: Runtime Error

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

sum = (a*2) + (b*2)
sum2 = a*b

print(sum2)
print(sum)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:

#include<iostream>

void cal_area(a,b){
    return a*b;
}
void cal_parimeter(a,b){
    return 2*(a+b);
}

output(a,b){
    print(a << " " << b);
}

void input(){
    std::cin >> a >> b;
    output(cal_area(a,b), cal_parimeter(a,b));
}
int main(){
    input();
    return 0;
}

Submission status: Runtime Error

Solution code:

#include<iostream>

void cal_area(a,b){
    return a*b;
}
void cal_parimeter(a,b){
    return 2*(a+b);
}

output(a,b){
    print(a << " " << b);
}

void input(){
    int a, b;
    std::cin >> a >> b;
    output(cal_area(a,b), cal_parimeter(a,b));
}
int main(){
    input();
    return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:

print("縦と横の長さを入力")
a=int(input("a:"))
b=int(input("b:"))

print("面積:",a*b)
print("周の長さ",a*2+b*2)

Submission status: Runtime Error

Solution code:
print("縦と横の長さを入力")

a=int(input("a:"))
b=int(input("b:"))

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

Submission status: Runtime Error

Solution code:

a=int(input("a:"))
b=int(input("b:"))

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

Submission status: Runtime Error

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

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:
i = input()
i.split()
a = i[0]
b = i[1]

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

print(s,l)

Submission status: Runtime Error

Solution code:
i = input()
i.split()
a = int(i[0])
b = int(i[2])

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

print(s,l)

Submission status: Runtime Error

Solution code:
print("縦と横の長さを入力")

a=float(input("a:"))
b=float(input("b:"))

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

Submission status: Runtime Error

Solution code:
print("縦と横の長さを入力")

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

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

Submission status: Runtime Error

Solution code:

#include <iostream>

int main(){
    int a, b;
    std::cin >> a >> b;
    if(a>=1 && b<=100){
        std::cout << a*b << " " << 2*(a+b);
    }
    return 0;
}

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split())
while a<=1 or 100<=a:
    while b<=1 or 100<=b:
        a,b=int(input());

S=a*b;
L=a+a+b+b;

print(S,L);

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
a,b=map(int,input().split())
while a<=1 or 100<=a:
    while b<=1 or 100<=b:
        a,b=int(input());

S=a*b;
L=a+a+b+b;

print(S,L);

Submission status: Runtime Error

Solution code:
#include<iostream>

int main()
{
int a,b;
std::cin >> a >> b;
std::cout << a*b << "/n";
std::cout << 2*(a+b);

return 0;
}

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
#16D8101026D 小野誠志郎 rikuya18 python Visual Stadio

A=int(input())
B=int(input())

print(A*B," ",2*A+2*B)

Submission status: Runtime Error

Solution code:
A=int(input())
B=int(input())

print(A*B," ",2*A+2*B)

Submission status: Runtime Error

Solution code:
A=int(input(" "))
B=int(input(" "))

print(A*B," ",2*A+2*B)

Submission status: Runtime Error

Solution code:
A=int(input())
B=int(input())

print(A*B," ",(2*A)+(2*B))

Submission status: Runtime Error

Solution code:
A=int(input(""))
B=int(input(""))

print(A*B," ",(2*A)+(2*B))

Submission status: Runtime Error

Solution code:
ab = [int(n) for n in input().split()]

S = ab[0]*ab[1]
L = 2*ab[0] + 2*ab[1]

print(S + " " + L)

Submission status: Runtime Error

Solution code:
ab = [int(n) for n in input().split()]

S = ab[0]*ab[1]
L = 2*ab[0] + 2*ab[1]

print(" ".join(str,map([S,L])))

Submission status: Runtime Error

Solution code:
print("縦と横の長さを入力")

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

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

Submission status: Runtime Error

Solution code:
print("縦と横の長さを入力")

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

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

Submission status: Runtime Error

Solution code:
print("縦と横の長さを入力")

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

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

Submission status: Runtime Error

Solution code:
num1=int(input("整数aを入力"))
num2=int(input("整数bを入力"))
s=num1*num2
print(s)

Submission status: Runtime Error

Solution code:
num1=int(input())
num2=int(input())
s=num1*num2
print(s)

Submission status: Runtime Error

Solution code:
num1=int(input)
num2=int(input)
s=num1*num2
print(s)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:

print(s)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b=input()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#16D8101012J 伊藤惇 dj Python3 

def area(a,b):
    c=a*b
    return c

def perimeter_of_the_rectangle(a,b):
    c=(a+b)*2
    return c

def Rectangle():
    a=int(input("input_a:"))
    b=int(input("input_b:"))
    c=area(a,b)
    d=perimeter_of_the_rectangle(a,b)
    print("{} {}".format(c,d))

if __name__ == '__main__':
    Rectangle()

"""
perimeter

"""

Submission status: Runtime Error

Solution code:
#16D8101012J 伊藤惇 dj Python3 

def area(a,b):
    c=a*b
    return c

def perimeter_of_the_rectangle(a,b):
    c=(a+b)*2
    return c

def Rectangle():
    a=int(input("input_a:"))
    b=int(input("input_b:"))
    c=area(a,b)
    d=perimeter_of_the_rectangle(a,b)
    print("{} {}".format(c,d))

if __name__ == '__main__':
    Rectangle()

Submission status: Runtime Error

Solution code:
a=int(input("縦"))
b=int(input("横"))

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
#16D8101012J 伊藤惇 dj Python3 

def area(a,b):
    c=a*b
    return c

def perimeter_of_the_rectangle(a,b):
    c=(a+b)*2
    return c

def Rectangle():
    a=int(input("input_a:"))
    b=int(input("input_b:"))
    c=area(a,b)
    d=perimeter_of_the_rectangle(a,b)
    print("{} {}".format(c,d),end="")

if __name__ == '__main__':
    Rectangle()

"""
perimeter

"""

Submission status: Runtime Error

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

s=a*b
sum=a*2+b*2

print(s," ",sum)

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[2]={0,0}
for i in range(2):
    A[i]=int(input())

print(A[0]*A[1]," ",2*A[0]+2*A[1])

Submission status: Runtime Error

Solution code:

A={0,0}
for i in range(2):
    A[i]=int(input())

print(A[0]*A[1]," ",2*A[0]+2*A[1])

Submission status: Runtime Error

Solution code:

#include <iostream>

int main() {
    int a, b;
    std::cin>>a>> b;
    std::cout<<a*b<<" "<<2 * (a + b);
    return 0
}

Submission status: Runtime Error

Solution code:
#include <iostream>
using namespace std;
int main(){
	int a, b;
	cin>>a>>b;
	cout<<a*b<<' '<<2*(a+b)<<endl;
	return 0;
}

Submission status: Runtime Error

Solution code:
#include <iostream>
using namespace std;
int main(){
	int a, b;
	cin>>a>>b;
	cout<<a*b<<' '<<2*(a+b)<<end|;
	return 0;
}

Submission status: Runtime Error

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

p=(a+b)*2
Area=a*b

print(p,Area)

Submission status: Runtime Error

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

p=(a+b)*2
Area=a*b

print(p,Area)

Submission status: Runtime Error

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

p=(a+b)*2
Area=a*b

print(Area,p)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
s = input()
a = int(s[0])
b = int(s[2])

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

Submission status: Runtime Error

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

c=a+a+b+b
d=a*b
print(",c, ,d,")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
a=input() 
line=a.split()
x=int(line[0])
y=int(line[1])
z1=x*y
z2=x*2+y*2
z3=str(z1)
z4=str(z2)
print(z1,z2)

Submission status: Runtime Error

Solution code:
#16D8101023J 久保田凌弥 kubotarouxxx python3

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

w=x*y
z=2*x+2*y

print(w)
print(z)

Submission status: Runtime Error

Solution code:
#16D8101023J 久保田凌弥 kubotarouxxx python3

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

w=x*y
z=2*x+2*y

print(w,z)

Submission status: Runtime Error

Solution code:
#16D8101023J 久保田凌弥 kubotarouxxx python3

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

w=x*y
z=x*2+y*2

print(w,z)

Submission status: Runtime Error

Solution code:
#16D8101023J 久保田凌弥 kubotarouxxx python3

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

w=x*y
z=2*(x+y)

print(w,z)

Submission status: Runtime Error

Solution code:
#16D8101023J 久保田凌弥 kubotarouxxx python3

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

w=x*y
z=2*x+2*y

print(w,z)

Submission status: Runtime Error

Solution code:
#16D8101023J 久保田凌弥 kubotarouxxx python3

x,y=map(int, raw_input().split())
w=x*y
z=2*x+2*y

print(w,z)

Submission status: Runtime Error

Solution code:
#
line=(input())
line.split()

a=int(line[0])
b=int(line[2])

p=(a+b)*2
Area=a*b

print(Area,p)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include<iostream>

int main()
{
  int a,b;

  std::cin>>a >>b;
  std::cout<<a*b <<2*a+2*b;

  return 0;
}

Submission status: Runtime Error

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


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

Submission status: Runtime Error

Solution code:
#include <iostream>
using namespace std;
 
int main(){
    int a,b;
    cin>>a>>b;
    cout<<(a*b)<<" "<<(a+b)*2;
    return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

if 1<=a<=100 and 1<=b<=100:
	print(a*b," ",2*(a+b))
\n

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

s = str(a*b)

p = str(2*a+2*b)

print(s+" "+p)

Submission status: Runtime Error

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

s = a*b

p = 2*a+2*b

print(s, p)

Submission status: Runtime Error

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

s = a*b

p = 2*a+2*b

print(s,p)

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

Submission status: Runtime Error

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

print("{} {}".format(a[0]*a[1], 2*sum(a)))

Submission status: Runtime Error

Solution code:
a, b = list(map(int, input()))
c = a * b
d = 2*(a + b)
print("{} {}".format(c, d))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#coding:UTF-8

a = input()
b = input()

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

print int(x)
print int(y)

Submission status: Runtime Error

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

print(a*b)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
#include <stdio.h>

int main() 
{
    int a, b;
    scanf("%d%d", &a, &b);
    printf("%d %d\n", a*b,  2*a+2*b);
    return 0;
}

Submission status: Runtime Error

Solution code:
a=int(input()) 
b=int(input())
print(f"{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=int(input())
b=int(input())
c=a*b;d=(a+b)*2
print(c d)

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

if __name__ == "__main__":
    main()

Submission status: Runtime Error

Solution code:
def main():
    a = []
    for i in range(2):
        a.append(int(input()))
    print(str(a[0] * a[1]) + " " + str(2 * (a[0] + a[1])))

if __name__ == "__main__":
    main()

Submission status: Runtime Error

Solution code:
def numinput():
    a = input().split()
    for i in range(len(a)):
        a[i] = int(a[i])
    return a

def main():
    a = numinput()
    print('%d %d' % (a[0] * a[1], 2 * (a[0] + a[1]))

if __name__ == "__main__":
    main()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
a = (input())

b = (input())

print(a*b)

print(2a+2b)

Submission status: Runtime Error

Solution code:
a,b = (4,5)

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

Submission status: Runtime Error

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

print(a*b)

print(2a+2b)

Submission status: Runtime Error

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

print(a*b)

print(2a+2b)

Submission status: Runtime Error

Solution code:
a = input
b = input

print(a*b)

print(2a+2b)

Submission status: Runtime Error

Solution code:
a=input
b=input

print(a*b)

print(2a+2b)

Submission status: Runtime Error

Solution code:
a=input
b=input

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

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

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

Submission status: Runtime Error

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

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