qyliang/CodeNanoFix huggingface dataset:
Buggy code:
a,b = list(map(int, input().split()))
c = 2 * (a+ b)
d = a * b
print(str(c) + " " + str(d))

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

Fixed code:
a,b=map(int,input().split())
print(str(int(a*b))+" "+str(2*(a+b)))
Buggy code:
a,b=map(int,input().split())

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

print(s," ",sum)


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

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

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

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


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

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


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

Fixed code:
a,b = [int(i) for i in input().split()]
print(a * b , a * 2 + b * 2)
Buggy code:
nums = list(map(int, input().split(" ")))
area = nums[0] * nums[1]
perimeter = nums[0] * 2 + nums[1] * 2
print(area + " " + perimeter)


Fixed code:
nums = list(map(int, input().split(" ")))
area = nums[0] * nums[1]
perimeter = nums[0] * 2 + nums[1] * 2
print(str(area) + " " + str(perimeter))
Buggy code:
import sys

data = sys.stdin.readline().strip().split(' ')
a = int(data[0])
b = int(data[1])
print('%d %d' % (a * b, (a + 2) * 2))

Fixed code:
import sys

data = sys.stdin.readline().strip().split(' ')
a = int(data[0])
b = int(data[1])
print('%d %d' % (a * b, (a + b) * 2))
Buggy code:
z = input()
m,l = z.split()
s = int(m) * int(l)
n = int(m)*2 + int(l)*2

print({} {}.format(str(s),str(n)))

Fixed code:
z = input()
m,l = z.split()
s = int(m) * int(l)
n = int(m)*2 + int(l)*2

print("{} {}".format(str(s),str(n)))
Buggy code:
stdin = input()
hw = stdin.split(" ")
h = (int)(hw[0])
w = (int)(hw[1])
area = h * w
perimeter = h * 2 + w * 2

print(area, " ", perimeter)


Fixed code:
stdin = input()
hw = stdin.split(" ")
h = (int)(hw[0])
w = (int)(hw[1])
area = h * w
perimeter = h * 2 + w * 2

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


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

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



Fixed code:
A,B = map(int,input().split())
print(A*B,2*(A+B))
Buggy code:
a, b = map(int, input().split())
print(x, y)
x = a * b
y = a + a + b + b


Fixed code:
a, b = map(int, input().split())
x = a * b
y = a + a + b + b
print(x, y)
Buggy 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)

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

x = input()
split_x = x.split(sep=" ")
a = int(split_x[0])
b = int(split_x[1])


Circumference = str(a*2 + b*2)
Area = str(a *b)
print(Circumference + " " + Area)

Fixed code:

x = input()
split_x = x.split(sep=" ")
a = int(split_x[0])
b = int(split_x[1])


Circumference = str(a*2 + b*2)
Area = str(a *b)
print(Area + " " + Circumference)
Buggy code:
my_value = input()
my_value_list = ([int(x) for x in my_value.split()])

print("{} {}".format(my_value_list[0]*my_value_list[1], my_value_list[0]+my_value_list[1]))

Fixed code:
my_value = input()
my_value_list = ([int(x) for x in my_value.split()])

print("{} {}".format(my_value_list[0]*my_value_list[1], (my_value_list[0]+my_value_list[1])*2))
Buggy code:
 l = map(int, input().split())
print(str(l[0]*l[1]) + " " + str(l[0]*2+l[1]*2))


Fixed code:
l = list(map(int, input().split()))
print(str(l[0]*l[1]) + " " + str(l[0]*2+l[1]*2))
Buggy code:
a = input().split(' ')
print(int(a[0])*int(a[1]), int(a[0]*2)+int(a[1])*2)



Fixed code:
a = input().split(' ')
print(int(a[0])*int(a[1]), int(a[0])*2+int(a[1])*2)
Buggy code:
a,b = [int(i) for i input().split()]
print(a*b , (a+b)*2)


Fixed code:
a,b = [int(i) for i in input().split()]
print(a*b,2*(a+b))
Buggy code:
a, b = map(int, input().split())
s = a * b
l = a * 2 + b * 2
print(s + " " + l)


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

Fixed code:
a,b = input().split()
a,b = int(a),int(b)
print(a*b,2*(a+b))
Buggy code:
if __name__ == '__main__':
	a, b = map(int, raw_input().split())
	area = a * b
	circumference = 2*a + 2*b
	print(area + ' ' + circumference)

Fixed code:
if __name__ == '__main__':
	a, b = map(int, input().split())
	area = a * b
	circumference = 2*a + 2*b
	print(area, circumference)
Buggy code:
a, b=map(int, input().split())
print(r, l)
r=a*b
l=2*(a+b)


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

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

print(r,l)
Buggy code:
a,b = map(input().split())
print(a*b,2*a+2*b)

Fixed code:
a,b = map(int,input().split())
print(a*b,2*a+2*b)
Buggy code:
line = input().split()
a = int(line[0])
b = int(line[1])
print(srt(a*b) + " " + str((a+b)*2))


Fixed code:
line = input().split()
a = int(line[0])
b = int(line[1])
print(str(a*b) + " " + str((a+b)*2))
Buggy code:
a,b = map(int, input().split())
hirosa = a*b
nagasa = 2*(a+b)
hirosa,nagasa


Fixed code:
a,b = map(int, input().split())
hirosa = a*b
nagasa = 2*(a+b)
print(hirosa,nagasa)
Buggy code:
a,b = map(int,input().strip().split())
c = (a+b)*2
s = a*b
print("%d %d" % (c,s))

Fixed code:
a,b = map(int,input().strip().split())
c = (a+b)*2
s = a*b
print("%d %d" % (s,c))
Buggy code:
a=input()
a=a.split(" ")
print(int(a[0])*int(a[1]),2*(int(a[0])+int(b[0])))


Fixed code:
a = input()
a = a.split(" ")
b = int(a[1])
a = int(a[0])
s = a*b
l = 2*(a+b)
print(s,l)
Buggy code:
a, b = map(int, input().split())
print(a * b, 2(a + b))


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

print(tateyoko[0])
print(tateyoko[1])
area = int(tateyoko[0]) * int(tateyoko[1])
circuit = int(tateyoko[0]) * 2 + int(tateyoko[1]) * 2

print(str(area) + ' ' + str(circuit))


Fixed code:
tateyoko = input().split()

area = int(tateyoko[0]) * int(tateyoko[1])
circuit = int(tateyoko[0]) * 2 + int(tateyoko[1]) * 2

print(str(area) + ' ' + str(circuit))
Buggy code:
a, b = map(int,input().split())
print(a,b)
x = a*b
y = 2 * (a + b)
print(x,y)


Fixed code:
l = input()
a,b = map(int,l.split())
x = a * b
y = 2 * (a + b)
print (x,y)
Buggy code:
a,b=map(int,input().split())
print(a*b,2(a+b))


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

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

Fixed code:
(x,y)=map(int, input().split(" "))
print(x * y, 2 * x + 2* y)
Buggy code:
[a,b] = map(int,input(),split())
print(a*b,(a+b)*2)

Fixed code:
[a,b] = map(int,input().split())
print(a*b,(a+b)*2)
Buggy code:
a,b = list(map(int,input().split(" "))

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

Fixed code:
a, b = list(map(int, input().split()))
print(a * b, end="")
print(" ", end="")
print(2 * (a + b))
Buggy code:
a, b = [int(s) for s in input().split()]
print(a * b)
print(2 * (a + b))

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


Fixed code:
a,b =[int(x) for x in input().split()]
print(a*b,(a+b)*2)
Buggy code:
a, b =list(map(int,input().split())
print("{} {}".format(a*b,2*(a+b)))


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


Fixed code:
a,b = map(int, input().split())
print(a*b,2*(a+b))
Buggy code:
import sys

a, b = list(map(int, sys.stdin.readline(),split()))

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

Fixed code:
import sys

a, b = list(map(int, sys.stdin.readline().split()))

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


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

Fixed code:
a,b=map(int,list(input().split()))
print(a*b,a*2+b*2)
Buggy code:
A,B=map(int(input().split()))
print(A*B,(A+B)*2)


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

if (a >= 1) or (b <= 100):
    num = a * b
    length = (a * 2) + (b * 2)
    print(num + " " + length, end="\n")
else:
    pass

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

if (a >= 1) or (b <= 100):
    num = str(a * b)
    length = str((a * 2) + (b * 2))
    print(num + " " + length, end="\n")
else:
    pass
Buggy code:
x = map(int,input().split())
print(str(x[0]*x[1])+" "+str(2*x[0]+2*x[1]))

Fixed code:
x = list(map(int,input().split()))
print(str(x[0]*x[1])+" "+str(2*x[0]+2*x[1]))
Buggy code:
a, b=map(int,input.split())
print(a*b, A*2+b*2)

Fixed code:

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

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


Fixed code:
a, b = map(int, input(). split())
print(a*b, a+a+b+b)
Buggy code:
a, b = map(int, input().rstrip().split(" "))

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

Fixed code:
a, b = map(int, input().rstrip().split(" "))

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

z = z.split( )
a = int(z[0]) * int(z[1])
b = int(z[0]) * 2 + int(z[1]) * 2

print(str(a) + ',' + str(b))


Fixed code:
z = input()

z = z.split( )
a = int(z[0]) * int(z[1])
b = int(z[0]) * 2 + int(z[1]) * 2

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


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




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

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

Fixed code:
a, b = [int(x) for x in input().split()]
print(a * b, 2 * (a + b))
Buggy code:
x, y = map(int, input().split())
x*y, 2*(x+y)


Fixed code:
x, y = map(int, input().split())
print(x*y, 2*(x+y))
Buggy code:
a,b = list(map(int, input().split()))
print(a*b, 2(a+b))

Fixed code:
i = input()
a,b = list(map(int, i.split()))
print(a*b, 2*(a+b))
Buggy code:
a,b=list(map(int,input().split()))
print(str(a*b) + "" + str(2*a+2*b))

Fixed code:
a,b=list(map(int,input().split()))
print(str(a*b) + " " + str(2*a+2*b))
Buggy code:
#coding: utf-8

nums=list(map(int,input().split()))

a=nums[0]
b=nums[1]

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

Fixed code:
#coding: utf-8

nums=list(map(int,input().split()))

a=nums[0]
b=nums[1]

print (a*b,(a+b)*2)
Buggy code:
x, y = map(int, input().split())
print("{0:d} {1:d}".format(x**2, y**2))


Fixed code:
x,y = map(int, input().split())
print("{0:d} {1:d}".format(x*y, (x+y)*2))
Buggy code:
a,b= map(int, input(),split())
print(a*b,2*(a+b))

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

print(a * b, 2*a + 2*b)
Buggy code:
import sys

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

Fixed code:
import sys
 
(a, b) = [int(i) for i in sys.stdin.readline().split()]
print("%d %d" % (a * b, (a + b) * 2))
Buggy code:
a,b = map(int,input().split())

men = a*b
hen = 2*(a+b)

print(men+" "+hen)


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

men = a*b
hen = 2*(a+b)

print(men,hen,sep=" ")
Buggy code:
a, b =map(int, input().split())
print(a*2+b*2)


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

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

Fixed code:
x=input().split()
a=int(x[0])
b=int(x[1])
print(a*b,(a*2+b*2))
Buggy code:
a=input().split()
b=[float(i) for i in a]
print(b[0]*b[1],2*(b[0]+b[1]))


Fixed code:
a=input().split()
b=[int(i) for i in a]
print(b[0]*b[1],2*(b[0]+b[1]))
Buggy code:
data_str = input()
data = data_str.split(" ")
print(int(data[0]) * int(data[1]) +' '+2 * (int(data[0])+int(data[1])))


Fixed code:
data_str = input()
data = data_str.split(" ")
print(int(data[0]) * int(data[1]), 2 * (int(data[0])+int(data[1])))
Buggy code:
a,b=int(input().split())
print(str(a*b)+' '+str(2*(a+b)))

Fixed code:
a,b = map(int, input().split())
print(str(a*b) + ' ' + str((a+b) * 2))
Buggy code:
a,b = map(int, input().split())
print(str(a*b) + ' ' + (a+b) * 2)

Fixed code:
a,b=list(map(int,input().split()))
print(str(a*b)+' '+str(2*(a+b)))
Buggy code:
x=int(input().split())
a=x[0]
b=x[1]
print(str(a*b)+' '+str(2*(a+b)))

Fixed code:
data=input().split()
a=int(data[0])
b=int(data[1])
print(str(a*b)+' '+str(a*2+b*2))
Buggy code:
a, b = map(int, input.split())
print(a * b, a * 2 + b * 2)




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



Fixed 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))
Buggy code:
a, b = map(int, input(),split())
print(a*b, a*2 + b*2)

Fixed code:

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


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

def SquareArea(a, b):
	return a * b

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

print('{} {}'.format(SideLength(a, b), SquareArea(a, b)))

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

def SquareArea(a, b):
	return a * b

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

print('{} {}'.format(SquareArea(a, b),SideLength(a, b)))
Buggy code:
def rect(a,b):
    return a*2,b+2  #Area, Perimeter
s = input()
x = s.split()
a = int(x[0])
b = int(x[1])

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


Fixed code:
def rect(a,b):
    return a*b,2*(a+b)  #Area, Perimeter
s = input()
x = s.split()
a = int(x[0])
b = int(x[1])

area,perimeter = rect(a,b)
print(area,perimeter)
Buggy code:
a, b = eval(input().replace(' ', ','))
print("{} {}".format(a*b, 2(a+b)))

Fixed code:
a, b = eval(input().replace(' ', ','))
print("{} {}".format(a*b, 2*(a+b)))
Buggy code:
z = input()
x,y= z.split()
a = int(x)*int(y)
b = int(x)*2+ int(y)*2
print("{}{}".format(a,b))

Fixed code:
z = input()
x,y= z.split()
a = int(x)*int(y)
b = int(x)*2+ int(y)*2
print("{} {}".format(a,b))
Buggy code:

nums = input().split(' ')
h1 = int(nums[0])
h2 = int(nums[1])
print( h1*h2 ),
print( 2*(h1+h2) )

Fixed code:
nums = input().split(' ')
h1 = int(nums[0])
h2 = int(nums[1])
print( h1*h2,  2*(h1+h2) )
Buggy code:
x = list(map(int,input().split()))
print(x[0]*x[1] x[0]*2+x[1]*2)

Fixed code:
x = list(map(int, input().split()))
y = x[0] * x[1]
z = 2 * (x[0] + x[1]) 
print(y, z)
Buggy code:
a, b = [int(i) for i in input().split()]
area = a * b
perimeter =  2 * (a + b)
print(area & " " & perimeter)

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

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

Fixed code:
tmp = input()
tmp = tmp.split(" ")

tmp = list(map(int,tmp))

print(tmp[0]*tmp[1],2*(tmp[1]+tmp[0]))
Buggy code:
num = [int(i) for i in input().split()]
print(num[0] * num[1] end = " ")
print(num[0] * 2 + num[1] *2)

Fixed code:
num = [int(i) for i in input().split()]
print(num[0] * num[1], end = " ")
print(num[0] * 2 + num[1] *2)
Buggy code:
a = [int(item) for item in input().split()]
print("{} {}".format(2*(a[0]+a[1]), a[0]*a[1]))

Fixed code:
a = [int(item) for item in input().split()]
print("{} {}".format(a[0]*a[1], 2*(a[0]+a[1])))
Buggy code:
a,b=map(int,input().split())
print((a+b)*2)

Fixed code:
a, b= map(int, input().split())
print(a*b, (a+b)*2)
Buggy code:
n = input()
a, b = int(n.split())
x = a * b
y = 2 * (a + b)
print(x, y)


Fixed code:
n = input()
a, b = n.split()
a = int(a)
b = int(b)
x = a * b
y = 2 * (a + b)
print(x, y)
Buggy code:
a, b = map(int, input(). split())
x = a*2+b+b
y = a*b
print(x, y)


Fixed code:
a, b = map(int, input(). split())
x = a*b
y = a*2+b+b
print(x, y)
Buggy code:
lis = [int(x)for x in input().split()]
print(str(lis[0]*lis[1]) + " " + str((lis[0]+lis[1])*2)


Fixed code:
lis = [int(x) for x in input().split()]
print(str(lis[0]*lis[1]) + " " + str(lis[0]*2+lis[1]*2))
Buggy code:
a,b=map(int(input().split()))
print(a*b,2*(a+b))


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

Fixed code:
a,b=map(int,input().split());print(a*b,2*(a+b))
Buggy code:
def Area(a, b):
    return a*b

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

num = input()
a,b = int(num.split())
print('{} {}'.format(Area(a,b), Lap(a,b)))

Fixed code:
def Area(a, b):
    return a*b

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

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

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

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


Fixed code:
ab=input()
a=int(ab.split()[0])
b=int(ab.split()[1])
s=a*b
l=(a+b)*2
print("{0} {1}".format(s,l))
Buggy code:
x, y = input().split()

a = int(x) * int(y)
b = int(x)**2 + int(y)**2
print("{} {}".format(a, b))

Fixed code:
x, y = input().split()

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

Fixed code:
[a,b] = list(map(int,input().split()))
print(a*b,(a+b)*2)
Buggy code:
inputStr = input()
for i in range(0,len(in)):
  if(inputStr[i] == ' '):
    surface = int(inputStr[:i])*int(inputStr[i+1:])
    edge = (int(inputStr[:i])+int(inputStr[i+1:]))*2
    print(str(surface) + ' ' + str(edge))

Fixed code:
inputStr = input()
for i in range(0, len(inputStr)):
  if(inputStr[i] == ' '):
    surface = int(inputStr[:i]) * int(inputStr[i+1:])
    edge = (int(inputStr[:i]) + int(inputStr[i+1:])) * 2
    print(str(surface) + ' ' + str(edge))
Buggy code:
a, b = (int(x) for x in input().split())
print(a*b)
print(2*a + 2*b)



Fixed code:
a, b = (int(x) for x in input().split())
print(a*b, 2*a + 2*b)
Buggy code:
a=input()
b=split(a)
d=list()
for c in b:
    d.append(int(c))
print(d[0]*d[1],2*d[0]+2*d[1])


Fixed code:
a=input()
b=a.split()
d=list()
for c in b:
    d.append(int(c))
print(d[0]*d[1],2*d[0]+2*d[1])
Buggy code:
x,y = [int(i) for i in input().split()]
area = x*y
length = (x*2)+(y*2)
print(area+" "+length)

Fixed code:
x,y = [int(i) for i in input().split()]
area = x*y
length = (x*2)+(y*2)
print(area,length)
Buggy code:
a,b = map(int, input().split())

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

print(str(c,d))

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

c,d = a * b,(a + b) *2

print(str(c) + " " + str(d))
Buggy code:
n = input().split()
a = int(n[0])
b = int(n[1])

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

Fixed code:
line = input()
line = line.split(' ')
a = int(line[0])
b = int(line[1])
print('{} {}'.format(a*b, 2*a + 2*b))
Buggy code:
a, b = [int(x) for x in input().split(' ')]
print('{0} {1}').format(a*b, (a+b)*2)

Fixed code:
a, b = [int(x) for x in input().split(' ')]
print('{0} {1}'.format(a*b, (a+b)*2))
Buggy code:
[a, b] = [int(x) for x in input().split()]
print(a * b ,'',(a + b) * 2)

Fixed code:
[a, b] = [int(x) for x in input().split()]
print(a * b ,(a + b) * 2)
Buggy code:
#coding: UTF-8

x = input('>').split()

y = list(map(int,x))

a = y[0]
b = y[1]

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

print(c,d)


Fixed code:
#coding: UTF-8

x = input()

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

a = y[0]
b = y[1]

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

print(c,d)
Buggy code:
#cording; UTF-8
a,b=[int(x) for x in input().split()]

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


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

S = a*b
L = 2*(a+b)
print(S,L)
Buggy code:
line=input().split()
a=int(line[0])
b=int(line[1])
print(a*b)
print((2*a)+(2*b))


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

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

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


Fixed code:
a, b=list(map(int,input().split()))
print(a*b,2*(a+b))
Buggy code:
a,b=map(int,input(),split())
x=a*b
y=2*(a+b)
print(x,y)


Fixed code:
a,b=map(int,input().split())
x=a*b
y=2*(a+b)
print(x,y)
Buggy code:
s = input()
x = s.split()

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

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


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

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

Fixed code:
a,b =map(int,input( ).split( ))
print(a*b, (a+b)*2)
Buggy code:
x, y = map(int, input().split())
print(x*y, " ", (x+y)*2)

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


Fixed code:
a, b = map(int, input().split())
print("{} {}".format(a*b, 2*(a+b)))
Buggy code:
params = input().rstrip().split('')
square = int(params[0]) * int(params[1])
length = (int(params[0]) + int(params[1])) * 2
 
print(square, length)

Fixed code:
params = input().rstrip().split(' ')
square = int(params[0]) * int(params[1])
length = (int(params[0]) + int(params[1])) * 2
 
print(square, length)
Buggy code:
x = input().split(" ")
a = int(x[0)
b = int(x[1])

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

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

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

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

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

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

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

print(area,end=" ")
print(length)
Buggy code:
def temp(val):
    [a,b]=val.split()
    a = int(a)
    b = int(b)
    print("{} {}".format(a*b, 2*a+2*b))

temp(input)

Fixed code:
def temp(val):
    [a,b]=val.split()
    a = int(a)
    b = int(b)
    print("{} {}".format(a*b, 2*a+2*b))

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


Fixed code:
a, b = [int(elem) for elem in input().split()]
print(a * b, (a + b) * 2)
Buggy code:
values = input()
height, width = [int(x) for x in values.split()]
print(' '.join(height * width, height * 2 + width * 2))

Fixed code:
values = input()
height, width = [int(x) for x in values.split()]
print(height * width,  height * 2 + width * 2)
Buggy code:
x,y=[int(i) for i in input(num).split()]
print(x*y,(x+y)*2)

Fixed code:
x,y=[int(i) for i in input().split()]
print(x*y,(x+y)*2)
Buggy code:
a, b = map(int, input().split())
print(a*2 + b*2)

Fixed code:
a,b = input().split()
print(int(a)*int(b),int(a)*2+int(b)*2)
Buggy code:
length0 = input()
#print(length0)
length = length0.split()
a = int(length[0])
b = int(length[1])
print(str(a)+" "+str(b))
#area = a*b
#per = 2*a+2*b
#print(str(area)+" "+str(per))


Fixed code:
length0 = input()
#print(length0)
length = length0.split()
a = int(length[0])
b = int(length[1])
#print(str(a)+" "+str(b))
area = a*b
per = 2*a+2*b
print(str(area)+" "+str(per))
Buggy code:
import sys

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

Fixed code:
import sys

a,b = map(int, sys.stdin.readline().rstrip().split(' '))
print("{} {}".format(a*b,(a+b)*2))
Buggy code:
x=input().split
y=map(int,x)
a=y[0]
b=y[1]
c=a*b
d=(a+b)*2
print c, d

Fixed code:
x=input().split()
y=list(map(int,x))
a=y[0]
b=y[1]
c=a*b
d=(a+b)*2
print (c,d)
Buggy code:
l = input().split
a, b = list(map(int, l))
print(a * b, 2 * (a + b))

Fixed code:
l = input().split()
a, b = list(map(int, l))
print(a * b, 2 * (a + b))
Buggy code:
a, b = map(int, input().split())

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


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

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