Buggy python submission (verdict: Runtime Error):
a = int(input())
b = int(input())

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

Fixed submission:
(a,b) = list(map(int, input().split()))
print ("%d %d" % (a * b, a * 2 + b * 2))

Buggy python submission (verdict: Runtime Error):
a = int(input())
b = int(input())
print(a*b, 2*(a+b), end='')

Fixed submission:
(a,b) = list(map(int, input().split()))
print ("%d %d" % (a * b, a * 2 + b * 2))

Buggy python submission (verdict: Runtime Error):
a = input())
b = input())
a = int(a)
b = int(b)
print(a*b, 2*(a+b), end='')

Fixed submission:
(a,b) = list(map(int, input().split()))
print ("%d %d" % (a * b, a * 2 + b * 2))

Buggy python submission (verdict: Runtime Error):
# coding: utf-8
# Here your code !
a = input()
b = input()
men = a*b
syu = a*2 + b*2
print men ,
print syu ,

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

Buggy python submission (verdict: Runtime Error):
# coding: utf-8
# Here your code !
a = input()
b = input()
x = a*b
y = a*2 + b*2
print "%d"%x,
print "%d"%y

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

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

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

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

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

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

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

Buggy python submission (verdict: Runtime Error):
# coding: utf-8
# Here your code !
a, b = map(int, input().split())
m = a * b
s = a * 2 + b * 2
print m, s

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

Buggy python submission (verdict: Runtime Error):
# coding: utf-8
# Here your code !
a, b = map(int, input().split())
m = a * b
s = a * 2 + b * 2
print m, s

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

Buggy python submission (verdict: Runtime Error):
# coding: utf-8
# Here your code !
a, b = map(int, input().split())
m = a * b
s = a * 2 + b * 2
print m, s

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

Buggy python submission (verdict: Runtime Error):
# coding: utf-8
# Here your code !
a, b = map(int, raw_input().split())
m = a * b
s = a * 2 + b * 2
print(s,m)

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