Buggy python submission (verdict: Runtime Error):
n=int(input().split())
a=n[0]
b=n[1]
S=a*b
L=(2*a)+(2*b)


Fixed submission:
#cording; UTF-8
a,b=[int(x) for x in input().split()]

S = a*b
L = 2*(a+b)
print(S,L)

Buggy python submission (verdict: Runtime Error):
n=int(input().split())
a=n[0]
b=n[1]
S=a*b
L=(2*a)+(2*b)
print(S' 'L)


Fixed submission:
#cording; UTF-8
a,b=[int(x) for x in input().split()]

S = a*b
L = 2*(a+b)
print(S,L)

Buggy python submission (verdict: Runtime Error):
n,n1=input().split()
a=n
b=n1
S=a*b
L=(2*a)+(2*b)
print(S' 'L)


Fixed submission:
#cording; UTF-8
a,b=[int(x) for x in input().split()]

S = a*b
L = 2*(a+b)
print(S,L)

Buggy python submission (verdict: Runtime Error):
n=input().split()
a=n[0]
b=n[1]
S=a*b
L=(2*a)+(2*b)
print(S' 'L)


Fixed submission:
#cording; UTF-8
a,b=[int(x) for x in input().split()]

S = a*b
L = 2*(a+b)
print(S,L)

Buggy python submission (verdict: Runtime Error):
n=input().split()
a=n[0]
b=n[1]
S=a*b
L=(2*a)+(2*b)
print(S' 'L)


Fixed submission:
#cording; UTF-8
a,b=[int(x) for x in input().split()]

S = a*b
L = 2*(a+b)
print(S,L)

Buggy python submission (verdict: Runtime Error):
n=input()
s=n.split()
a=s[0]
b=s[1]
S=a*b
L=(2*a)+(2*b)
print(S' 'L)


Fixed submission:
#cording; UTF-8
a,b=[int(x) for x in input().split()]

S = a*b
L = 2*(a+b)
print(S,L)

Buggy python submission (verdict: Runtime Error):
n=input()
s=int(n.split())
a=s[0]
b=s[1]
S=a*b
L=(2*a)+(2*b)
print(S' 'L)


Fixed submission:
#cording; UTF-8
a,b=[int(x) for x in input().split()]

S = a*b
L = 2*(a+b)
print(S,L)

Buggy python submission (verdict: Runtime Error):
n=map(int,raw_input().split())
a=n[0]
b=n[1]
S=a*b
L=(2*a)+(2*b)
print(S' 'L)


Fixed submission:
#cording; UTF-8
a,b=[int(x) for x in input().split()]

S = a*b
L = 2*(a+b)
print(S,L)

Buggy python submission (verdict: Runtime Error):
n=map(int,raw_input().split())
a=n[0]
b=n[1]
S=a*b
L=(2*a)+(2*b)
print(S" "L)


Fixed submission:
#cording; UTF-8
a,b=[int(x) for x in input().split()]

S = a*b
L = 2*(a+b)
print(S,L)

Buggy python submission (verdict: Runtime Error):
n=map(int,raw_input().split())
a=n[0]
b=n[1]
S=[a*b,(2*a)+(2*b)]
print(' '.join(map(str, S)))


Fixed submission:
#cording; UTF-8
a,b=[int(x) for x in input().split()]

S = a*b
L = 2*(a+b)
print(S,L)

Buggy python submission (verdict: Runtime Error):
n=map(int,raw_input().split())
a=n[0]
b=n[1]
print(a*b)
print(' ')
print((2*a)+(2*b))


Fixed submission:
#cording; UTF-8
a,b=[int(x) for x in input().split()]

S = a*b
L = 2*(a+b)
print(S,L)

Buggy python submission (verdict: Runtime Error):
#cording; UTF-8

x = raw_input().split()
y = map(int,x)

a = y[0]
b = y[1]
S = a*b
L  = 2*(a+b)
print(S' 'L)


Fixed submission:
#cording; UTF-8
a,b=[int(x) for x in input().split()]

S = a*b
L = 2*(a+b)
print(S,L)

Buggy python submission (verdict: Runtime Error):
#cording; UTF-8

x = raw_input().split()
y = map(int,x)

a = y[0]
b = y[1]
S = a*b
L  = 2*(a+b)
print S, L


Fixed submission:
#cording; UTF-8
a,b=[int(x) for x in input().split()]

S = a*b
L = 2*(a+b)
print(S,L)

Buggy python submission (verdict: Runtime Error):
#cording; UTF-8

x = raw_input().split()
y = map(int,x)

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


Fixed submission:
#cording; UTF-8
a,b=[int(x) for x in input().split()]

S = a*b
L = 2*(a+b)
print(S,L)

Buggy python submission (verdict: Runtime Error):
#cording; UTF-8

x = raw_input().split()
y = map(int,x)

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


Fixed submission:
#cording; UTF-8
a,b=[int(x) for x in input().split()]

S = a*b
L = 2*(a+b)
print(S,L)

Buggy python submission (verdict: Runtime Error):
#cording; UTF-8
a,b=[int(x) for x in input().split()]

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


Fixed submission:
#cording; UTF-8
a,b=[int(x) for x in input().split()]

S = a*b
L = 2*(a+b)
print(S,L)

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

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


Fixed submission:
l = input().split()
a = int(l[0])
b = int(l[1])
print(a*b,2*a+2*b)

Buggy python submission (verdict: Runtime Error):
s = input()
x = s.split()

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

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


Fixed submission:
def area(a,b):
    return a*b
    
def perimeter(a,b):
    return (a+b)*2
    
s = input()
a,b = s.split()
a = int(a)
b = int(b)

print(area(a,b), perimeter(a,b))

Buggy python submission (verdict: Runtime Error):
s = input()
x = s.split()

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

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


Fixed submission:
def area(a,b):
    return a*b
    
def perimeter(a,b):
    return (a+b)*2
    
s = input()
a,b = s.split()
a = int(a)
b = int(b)

print(area(a,b), perimeter(a,b))