Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
import time
s=time.time()
while time.time()-s<39.99:pass
i=input;a,b,c,d,e=map(int,[i(),i(),i(),i(),i()])
print(c*-a+d+b*e)if a<0 else print((b-a)*e)

Fixed submission:
import time
s=time.time()
while time.time()-s<39.9:pass
i=input
a,b,c,d,e=map(int,[i(),i(),i(),i(),i()])
if a<0:print(c*-a+d+b*e)
else:print((b-a)*e)

Buggy python submission (verdict: Runtime Error):
import time
s=time.time()
while time.time()-s<39.99:pass
i=input;a,b,c,d,e=map(int,[i(),i(),i(),i(),i()])
print(c*-a+d+b*e)if a<0 else print((b-a)*e)

Fixed submission:
import time
s=time.time()
while time.time()-s<39.9:pass
i=input
a,b,c,d,e=map(int,[i(),i(),i(),i(),i()])
if a<0:print(c*-a+d+b*e)
else:print((b-a)*e)

Buggy python submission (verdict: Runtime Error):
import time
s=time.time()
while time.time()-s<39.99:pass
i=input
a,b,c,d,e=map(int,[i(),i(),i(),i(),i()])
print(c*-a+d+b*e)if a<0 else print((b-a)*e)

Fixed submission:
import time
s=time.time()
while time.time()-s<39.9:pass
i=input
a,b,c,d,e=map(int,[i(),i(),i(),i(),i()])
if a<0:print(c*-a+d+b*e)
else:print((b-a)*e)

Buggy python submission (verdict: Runtime Error):
import time
s=time.time()
while time.time()-s<39.99:pass
i=input;a,b,c,d,e=map(int,[i(),i(),i(),i(),i()])
if a<0:print(c*-a+d+b*e)
else:print((b-a)*e)

Fixed submission:
import time
s=time.time()
while time.time()-s<39.9:pass
i=input
a,b,c,d,e=map(int,[i(),i(),i(),i(),i()])
if a<0:print(c*-a+d+b*e)
else:print((b-a)*e)

Buggy python submission (verdict: Runtime Error):
import time
s=time.time()
while time.time()-s<39.99:pass
i=input
a,b,c,d,e=map(int,[i(),i(),i(),i(),i()])
if a<0:print(c*-a+d+b*e)
else:print((b-a)*e)

Fixed submission:
import time
s=time.time()
while time.time()-s<39.9:pass
i=input
a,b,c,d,e=map(int,[i(),i(),i(),i(),i()])
if a<0:print(c*-a+d+b*e)
else:print((b-a)*e)
Buggy python submission (verdict: Time Limit Exceeded):
import time,sys
start=time.time()
while time.time()-start<=4.98:pass
for input in sys.stdin:print(sum(map(int,input.split())))

Fixed submission:
import time,sys
s=time.time()
while time.time()-s<=4.9775:pass
for i in sys.stdin:print(sum(map(int,i.split())))

Buggy python submission (verdict: Time Limit Exceeded):
import time,sys
start=time.time()
while time.time()-start<=4.979:pass
for input in sys.stdin:print(sum(map(int,input.split())))

Fixed submission:
import time,sys
s=time.time()
while time.time()-s<=4.9775:pass
for i in sys.stdin:print(sum(map(int,i.split())))

Buggy python submission (verdict: Time Limit Exceeded):
import time,sys
start=time.time()
while time.time()-start<=4.978:pass
for input in sys.stdin:print(sum(map(int,input.split())))

Fixed submission:
import time,sys
s=time.time()
while time.time()-s<=4.9775:pass
for i in sys.stdin:print(sum(map(int,i.split())))
Buggy python submission (verdict: Time Limit Exceeded):
m,n=map(int,input().split())
print(m**n%1000000007)

Fixed submission:
m,n=map(int,input().split())
print(pow(m,n,1000000007))
Buggy python submission (verdict: Runtime Error):
import sys
import math
for line in sys.stdin:
    a, b = map(int, line.split())
    gcdab = math.gcd(a, b)
    print(gcdab, int(a / gcdab * b))

Fixed submission:
import sys
def gcd(a, b):
    for i in range(1, a+1):
        if a % i == 0:
            t = a // i
            if b % t == 0:
                return t
for line in sys.stdin:
    a, b = sorted(map(int, line.split()))
    gcdab = gcd(a, b)
    print(gcdab, a // gcdab * b)

Buggy python submission (verdict: Runtime Error):
import sys
import math
for line in sys.stdin:
    a, b = map(int, line.split())
    gcdab = math.gcd(a, b)
    print(gcdab, a // gcdab * b)

Fixed submission:
import sys
def gcd(a, b):
    for i in range(1, a+1):
        if a % i == 0:
            t = a // i
            if b % t == 0:
                return t
for line in sys.stdin:
    a, b = sorted(map(int, line.split()))
    gcdab = gcd(a, b)
    print(gcdab, a // gcdab * b)

Buggy python submission (verdict: Runtime Error):
import sys
def gcd(a, b):
    for i in range(1, a):
        if a % i == 0:
            t = a // i
            if b % t == 0:
                return t
for line in sys.stdin:
    a, b = sorted(map(int, line.split()))
    gcdab = gcd(a, b)
    print(gcdab, a // gcdab * b)

Fixed submission:
import sys
def gcd(a, b):
    for i in range(1, a+1):
        if a % i == 0:
            t = a // i
            if b % t == 0:
                return t
for line in sys.stdin:
    a, b = sorted(map(int, line.split()))
    gcdab = gcd(a, b)
    print(gcdab, a // gcdab * b)
Buggy python submission (verdict: Runtime Error):
import sys
c = [0 for i in range(37)]
for i in range(10):
    for j in range(10):
        for k in range(10):
            for l in range(10):
                c[i+j+k+l] += 1
for line in sys.stdin:
    print(c[int(line)])

Fixed submission:
import sys
t = [None for i in range(10000)]
c = 0
for i in range(10):
    for j in range(10):
        for k in range(10):
            for l in range(10):
                t[c] = i + j + k + l 
                c += 1
for line in sys.stdin:
    print(t.count(int(line)))

Buggy python submission (verdict: Runtime Error):
import sys
c = [0 for i in range(37)]
for i in range(10):
    for j in range(10):
        for k in range(10):
            for l in range(10):
                t = i + j + k + l
                c[t] += 1
for line in sys.stdin:
    print(c[int(line)])

Fixed submission:
import sys
t = [None for i in range(10000)]
c = 0
for i in range(10):
    for j in range(10):
        for k in range(10):
            for l in range(10):
                t[c] = i + j + k + l 
                c += 1
for line in sys.stdin:
    print(t.count(int(line)))

Buggy python submission (verdict: Runtime Error):
import sys
c = [0 for i in range(37)]
for i in range(10):
    for j in range(10):
        for k in range(10):
            for l in range(10):
                c[i+j+k+l] += 1
for line in sys.stdin:
    n = int(line)
    print(c[n])

Fixed submission:
import sys
t = [None for i in range(10000)]
c = 0
for i in range(10):
    for j in range(10):
        for k in range(10):
            for l in range(10):
                t[c] = i + j + k + l 
                c += 1
for line in sys.stdin:
    print(t.count(int(line)))
Buggy python submission (verdict: Runtime Error):
import math
x1, y1, x2, y2 = map(int, input().split())
print(math.sqrt((x1 - x2) ** 2 + (y1 - y2) ** 2))

Fixed submission:
import math
x1, y1, x2, y2 = map(float, input().split())
print(math.sqrt((x1 - x2) ** 2 + (y1 - y2) ** 2))
Buggy python submission (verdict: Runtime Error):
import math
n = int(input())
x = list(map(int, input().split()))
y = list(map(int, input().split()))
tmp = [[0 for i in range(6)] for j in range(n+1)]
absDiff = abs(x[0]-y[0])
tmp[0][3] = tmp[0][0] = absDiff
tmp[0][4] = tmp[0][1] = absDiff ** 2
tmp[0][5] = tmp[0][2] = absDiff ** 3
max = absDiff
for i in range(1, n, 1):
    absDiff = abs(x[i]-y[i])
    tmp[i][0] = absDiff
    tmp[i][1] = absDiff ** 2
    tmp[i][2] = absDiff ** 3
    tmp[i][3] = tmp[i-1][3] + tmp[i][0]
    tmp[i][4] = tmp[i-1][4] + tmp[i][1]
    tmp[i][5] = tmp[i-1][5] + tmp[i][2]
    if absDiff > max:
        max = absDiff
print(tmp[i][3])
print(math.sqrt(tmp[i][4]))
print(tmp[i][5] ** (1/3))
print(max)

Fixed submission:
n = int(input())
x = [0] + list(map(int, input().split()))
y = [0] + list(map(int, input().split()))
tmp = [[0 for i in range(3)] for j in range(n+1)]
max = 0
for i in range(1, n+1, 1):
    absDiff = abs(x[i]-y[i])
    absDiff2 = absDiff * absDiff
    absDiff3 = absDiff2 * absDiff
    tmp[i][0] = tmp[i-1][0] + absDiff
    tmp[i][1] = tmp[i-1][1] + absDiff2
    tmp[i][2] = tmp[i-1][2] + absDiff3
    if absDiff > max:
        max = absDiff
print(tmp[n][0])
print(tmp[n][1] ** (1/2))
print(tmp[n][2] ** (1/3))
print(max)
Buggy python submission (verdict: Runtime Error):
u, s, e, w, n, d = list(map(int, input().split()))
insts = input()
for inst in insts:
    if inst == 'N':
        u, s, n, d = s, d, u, n
    elif inst == 'E':
        u, e, w, d = w, u, d, e
    elif inst == 'S':
        u, s, n, d = n, u, d, s
    elif inst == 'W':
        u, e, w, d = e, d, u, w
print(u)

Fixed submission:
u, s, e, w, n, d = input().split()
t = input()
for i in t:
    if i == 'N':
        u, s, n, d = s, d, u, n
    elif i == 'E':
        u, e, w, d = w, u, d, e
    elif i == 'S':
        u, s, n, d = n, u, d, s
    elif i == 'W':
        u, e, w, d = e, d, u, w
print(u)
Buggy python submission (verdict: Runtime Error):
i = 1
x = input()
while x:
    print('Case {0}: {1}'.format(i, x))
    x = input()
    i += 1

Fixed submission:
x = input()
i = 1
while x != '0':
    print('Case {0}: {1}'.format(i, x))
    x = input()
    i += 1
Buggy python submission (verdict: Runtime Error):
a, b = map(int, input().split())
print('{0} {1} {:.5f}'.format(a//b, a%b, a/b))

Fixed submission:
a, b = map(int, input().split())
print('{} {} {:.5f}'.format(a//b, a%b, a/b))
Buggy python submission (verdict: Runtime Error):
import math
r = int(input())
print('{:.6f} {:.6f}'.format(math.pi*r*r, 2*math.pi*r))

Fixed submission:
import math
r = float(input())
print('{:.6f} {:.6f}'.format(math.pi*r*r, 2*math.pi*r))
Buggy python submission (verdict: Runtime Error):
while True:
    H, W = map(int, input().split())
    for i in range(H):
        for j in range(W):
            if (i + j) % 2:
                print('.', end='')
            else:
                print('#', end='')
        print()
    print()

Fixed submission:
while True:
    H, W = map(int, input().split())
    if not(H or W):
        break
    for i in range(H):
        if i % 2:
            print('.#' * (W // 2) + '.' * (W % 2))
        else:
            print('#.' * (W // 2) + '#' * (W % 2))
    print()
Buggy python submission (verdict: Runtime Error):
n = int(input())
cards = [[0 for i in range(13)] for j in range(4)]
n = int(input())
for i in range(n):
    card = list(input().split())
    card[1] = int(card[1])
    if card[0] == 'S':
        suit = 0 
    elif card[0] == 'H':
        suit = 1 
    elif card[0] == 'C':
        suit = 2 
    elif card[0] == 'D':
        suit = 3 
    cards[suit][card[1]-1] = 1 
for i in range(4):
    if i == 0:
        suit = 'S' 
    elif i == 1:
        suit = 'H' 
    elif i == 2:
        suit = 'C' 
    elif i == 3:
        suit = 'D' 
    for j in range(13):
        if not(cards[i][j]):
            print(suit, j+1)

Fixed submission:
cards = [[0 for i in range(13)] for j in range(4)]
s2n = {'S': 0, 'H': 1, 'C': 2, 'D': 3}
n2s = 'SHCD'
n = int(input())
for i in range(n):
    card = list(input().split())
    card[1] = int(card[1])
    cards[s2n[card[0]]][card[1]-1] = 1
for i in range(4): 
    for j in range(13):
        if not(cards[i][j]):
            print(n2s[i], j+1)

Buggy python submission (verdict: Runtime Error):
n = int(input())
cards = [[0 for i in range(13)] for j in range(4)]
s2n = {'S': 0, 'H': 1, 'C': 2, 'D': 3}
n2s = 'SHCD'
n = int(input())
for i in range(n):
    card = list(input().split())
    card[1] = int(card[1])
    if card[0] == 'S':
        suit = 0 
    elif card[0] == 'H':
        suit = 1 
    elif card[0] == 'C':
        suit = 2 
    elif card[0] == 'D':
        suit = 3 
    cards[suit][card[1]-1] = 1
for i in range(4): 
    for j in range(13):
        if not(cards[i][j]):
            print(n2s[i], j+1)

Fixed submission:
cards = [[0 for i in range(13)] for j in range(4)]
s2n = {'S': 0, 'H': 1, 'C': 2, 'D': 3}
n2s = 'SHCD'
n = int(input())
for i in range(n):
    card = list(input().split())
    card[1] = int(card[1])
    cards[s2n[card[0]]][card[1]-1] = 1
for i in range(4): 
    for j in range(13):
        if not(cards[i][j]):
            print(n2s[i], j+1)
Buggy python submission (verdict: Runtime Error):
count = {}
from string import ascii_lowercase
for c in ascii_lowercase:
    count[c] = 0 
str = input()
while str:
    sum = 0
    for c in str:
        if c.isalpha():
            count[c.lower()] += 1
    str = input()
for c in ascii_lowercase:
    print(c, ':', count[c])

Fixed submission:
import sys
strs = sys.stdin.readlines()
for c in range(ord('a'), ord('z') + 1):
    count = 0
    for s in strs:
        count += s.lower().count(chr(c))
    print('{0} : {1}'.format(chr(c), count))
Buggy python submission (verdict: Runtime Error):
N = int(input())
d = []
d.append([])
d.append([".",",","!","?"])
d.append(["a","b","c"])
d.append(["d","e","f"])
d.append(["g","h","i"])
d.append(["j","k","l"])
d.append(["m","n","o"])
d.append(["p","q","r","s"])
d.append(["t","u","v"])
d.append(["w","x","y","z"])
for _ in range(N):
    nn = input()
    output = ""
    b = 0
    c = 0
    for n in nn:
        n = int(n)
        if n == 0:
            output += d[b][c]
            c = 0
        b = n
            


Fixed submission:
def solve(mm, cmd):
	bf = cmd[0]
	c = 0
	ans = ""
	for s in cmd[1::]:
			if bf == s:
				c += 1
			else:
				if s == '0':
					ans += mm[bf][c%len(mm[bf])]
				c = 0
				bf = s
	return ans

def main():
	N = int(input())
	cc = [
		[".",",","!","?"," "],
		["a","b","c"],
		["d","e","f"],
		["g","h","i"],
		["j","k","l"],
		["m","n","o"],
		["p","q","r","s"],
		["t","u","v"],
		["w","x","y","z"]]
	mm = dict(zip(
		[str(i) for i in range(1,10)],
		cc
	))
	for _ in range(N):
		cmd = input()
		print(solve(mm,cmd))

if __name__ == '__main__':
	main()

Buggy python submission (verdict: Runtime Error):
N = int(input())
d = []
d.append([])
d.append([".",",","!","?"])
d.append(["a","b","c"])
d.append(["d","e","f"])
d.append(["g","h","i"])
d.append(["j","k","l"])
d.append(["m","n","o"])
d.append(["p","q","r","s"])
d.append(["t","u","v"])
d.append(["w","x","y","z"])
for _ in range(N):
    nn = input()
    output = ""
    b = 0
    c = 0
    for n in nn:
        n = int(n)
        if n == 0:
            output += d[b][c]
            c = 0
        c += 1
    print(output)       


Fixed submission:
def solve(mm, cmd):
	bf = cmd[0]
	c = 0
	ans = ""
	for s in cmd[1::]:
			if bf == s:
				c += 1
			else:
				if s == '0':
					ans += mm[bf][c%len(mm[bf])]
				c = 0
				bf = s
	return ans

def main():
	N = int(input())
	cc = [
		[".",",","!","?"," "],
		["a","b","c"],
		["d","e","f"],
		["g","h","i"],
		["j","k","l"],
		["m","n","o"],
		["p","q","r","s"],
		["t","u","v"],
		["w","x","y","z"]]
	mm = dict(zip(
		[str(i) for i in range(1,10)],
		cc
	))
	for _ in range(N):
		cmd = input()
		print(solve(mm,cmd))

if __name__ == '__main__':
	main()
Buggy python submission (verdict: Runtime Error):
w,h,x,y,r =[int(i) for i in input().split()]

if(w < x+r ):
	print('YES')
elif(h < y+r):
	print('YES')
else:
	print('NO')

Fixed submission:
a,b,c =[int(i) for i in input().split()]

if(a < b and b < c):
	print("Yes")
else:
	print("No")
Buggy python submission (verdict: Runtime Error):
a=list(map(int,input().split()))
b=sorted(a)
print(b[9])
print(b[8])
print(b[7])

Fixed submission:
#a=list(map(int,input().split()))
a=[]
for i in range(10):
    tmp = int(input())
    a.append(tmp)
b=sorted(a, reverse=True)
print(b[0])
print(b[1])
print(b[2])

Buggy python submission (verdict: Runtime Error):
a=list(map(int,input().split()))
b=sorted(a, reverse=True)
print(b[0])
print(b[1])
print(b[2])

Fixed submission:
#a=list(map(int,input().split()))
a=[]
for i in range(10):
    tmp = int(input())
    a.append(tmp)
b=sorted(a, reverse=True)
print(b[0])
print(b[1])
print(b[2])

Buggy python submission (verdict: Runtime Error):
a=list(map(int,input().split()))
b=sorted(a, reverse=True)
print(b[0])
print(b[1])
print(b[2])

Fixed submission:
#a=list(map(int,input().split()))
a=[]
for i in range(10):
    tmp = int(input())
    a.append(tmp)
b=sorted(a, reverse=True)
print(b[0])
print(b[1])
print(b[2])
Buggy python submission (verdict: Runtime Error):
input(num)

multiple = num * num * num

print(multiple)


Fixed submission:
x = input()

x = int(x) 
mul = x

for i in range(0, 2):
	mul = mul * x

print(mul)
Buggy python submission (verdict: Runtime Error):
x = input().split(" ")
a = int(x[0])
b = int(x[1])

if a > b:
    put("a > b")
elif a < b:
    put("a < b")
else:
    put("a == b")



Fixed submission:
if __name__ == '__main__':
    x = input().split(' ')
    a = int(x[0])
    b = int(x[1])

    if a > b:
        print('a > b')
    elif a < b:
        print('a < b')
    else:
        print('a == b')

Buggy python submission (verdict: Runtime Error):
x = input().split(" ")
a = int(x[0])
b = int(x[1])

if a > b:
    put("a > b")
if a < b:
    put("a < b")
else:
    put("a == b")



Fixed submission:
if __name__ == '__main__':
    x = input().split(' ')
    a = int(x[0])
    b = int(x[1])

    if a > b:
        print('a > b')
    elif a < b:
        print('a < b')
    else:
        print('a == b')

Buggy python submission (verdict: Runtime Error):
x = input().split(" ")
a = int(x[0])
b = int(x[1])

if a > b:
    put("a > b")
if a < b:
    put("a < b")
else:
    put("a == b")



Fixed submission:
if __name__ == '__main__':
    x = input().split(' ')
    a = int(x[0])
    b = int(x[1])

    if a > b:
        print('a > b')
    elif a < b:
        print('a < b')
    else:
        print('a == b')

Buggy python submission (verdict: Runtime Error):
    x = input().split(' ')
    a = int(x[0])
    b = int(x[1])

    if a > b:
        print('a > b')
    elif a < b:
        print('a < b')
    else:
        print('a == b')
    


Fixed submission:
if __name__ == '__main__':
    x = input().split(' ')
    a = int(x[0])
    b = int(x[1])

    if a > b:
        print('a > b')
    elif a < b:
        print('a < b')
    else:
        print('a == b')
Buggy python submission (verdict: Runtime Error):
if __name__ == '__main__':
    x = input().split(' ')
    a = int(x[0])
    b = int(x[1])
    c = int(x[2])

    if a > b and b > c:
        print(
    


Fixed submission:
if __name__ == '__main__':
    x = input().split(' ')
    a = int(x[0])
    b = int(x[1])
    c = int(x[2])

    x.sort()
    print(x[0], x[1], x[2])
Buggy python submission (verdict: Runtime Error):
if __name__ == '__main__':
  x = input().split(' ')
  W = x[0]
  H = x[1]
  x = x[2]
  y = x[3]
  r = x[4]
  if x - r < 0 or x + r > W:
    print('No')
  if y - r < 0 or y + r > H:
      print('No')
  else:
    print('Yes')
      
	

   



Fixed submission:
line = input().split(" ")
w = int(line[0])
h = int(line[1])
x = int(line[2])
y = int(line[3])
r = int(line[4])
if x - r < 0:
    print("No")
elif w < x + r:
    print("No")
elif y - r < 0:
    print("No")
elif h < y + r:
    print("No")
else:
    print("Yes")

Buggy python submission (verdict: Runtime Error):
if __name__ == '__main__':
  z = input().split(' ')
  W = z[0]
  H = z[1]
  x = z[2]
  y = z[3]
  r = z[4]
  if x - r < 0 or x + r > W:
    print('No')
  if y - r < 0 or y + r > H:
    print('No')
  else:
    print('Yes')
      
	

   



Fixed submission:
line = input().split(" ")
w = int(line[0])
h = int(line[1])
x = int(line[2])
y = int(line[3])
r = int(line[4])
if x - r < 0:
    print("No")
elif w < x + r:
    print("No")
elif y - r < 0:
    print("No")
elif h < y + r:
    print("No")
else:
    print("Yes")
Buggy python submission (verdict: Runtime Error):
i = 0

while True:
  i += 1
  n = input()
  if n = 0: break
  print('Case ' +str(i) +':' + n)



Fixed submission:
case = 0
while 1:
    case += 1
    n = int(input())
    if n == 0: break
     
    print("Case {}: {}".format(case, n))

Buggy python submission (verdict: Runtime Error):
i = 0

while True:
  i += 1
  n = input()
  if n = 0: break:
  print('Case ' +str(i) +':' + n)



Fixed submission:
case = 0
while 1:
    case += 1
    n = int(input())
    if n == 0: break
     
    print("Case {}: {}".format(case, n))

Buggy python submission (verdict: Runtime Error):
def main():
 i = 0

 while True:
   i += 1
   n = input()
   if n = 0: break
   print('Case ' +str(i) +':' + n)
main()



Fixed submission:
case = 0
while 1:
    case += 1
    n = int(input())
    if n == 0: break
     
    print("Case {}: {}".format(case, n))

Buggy python submission (verdict: Runtime Error):
def main():
 i = 0

 while True:
   i += 1
   n = input()
   if n == 0: break
   print('Case ' +str(i) +':' + n)
main()



Fixed submission:
case = 0
while 1:
    case += 1
    n = int(input())
    if n == 0: break
     
    print("Case {}: {}".format(case, n))

Buggy python submission (verdict: Runtime Error):
def main():
 i = 0

 while True:
   i += 1
   n = input()
   if n = 0: break
   print('Case ' +str(i) +': ' + n)
main()



Fixed submission:
case = 0
while 1:
    case += 1
    n = int(input())
    if n == 0: break
     
    print("Case {}: {}".format(case, n))

Buggy python submission (verdict: Runtime Error):
def main():
 i = 0

 while True:
   i += 1
   n = input()
   if n == 0: break
   print('Case ' +str(i) +': ' + n)
main()



Fixed submission:
case = 0
while 1:
    case += 1
    n = int(input())
    if n == 0: break
     
    print("Case {}: {}".format(case, n))
Buggy python submission (verdict: Runtime Error):
num = input().split(' ')
x = num[0]
y = num[1]

if x > y:
  tmp = x
  x = y
  y = tmp

else:
  break

print(x + ' ' +y)


Fixed submission:
while(True):
    x, y = map(int, input().split())
    if(x == y == 0):
        break
    if(x <= y):
        print("%d %d" % (x, y))
    else:
        print("%d %d" % (y, x))

Buggy python submission (verdict: Runtime Error):
num = input().split(' ')
x = num[0]
y = num[1]

if x > y:
  tmp = x
  x = y
  y = tmp

elif x = y = 0:
  exit()

else:
  break

print(x + ' ' +y)


Fixed submission:
while(True):
    x, y = map(int, input().split())
    if(x == y == 0):
        break
    if(x <= y):
        print("%d %d" % (x, y))
    else:
        print("%d %d" % (y, x))
Buggy python submission (verdict: Runtime Error):
x = input
print (x*x*x)


Fixed submission:
x = input()
x = int(x)
print (x*x*x)

Buggy python submission (verdict: Runtime Error):
x = input
print (x*x*x,"\n")


Fixed submission:
x = input()
x = int(x)
print (x*x*x)

Buggy python submission (verdict: Runtime Error):
x = input()
print (x*x*x,"\n")


Fixed submission:
x = input()
x = int(x)
print (x*x*x)

Buggy python submission (verdict: Runtime Error):
x = input()
print (x*x*x)


Fixed submission:
x = input()
x = int(x)
print (x*x*x)

Buggy python submission (verdict: Runtime Error):
x = input()
y = x*x*x
print (y)


Fixed submission:
x = input()
x = int(x)
print (x*x*x)

Buggy python submission (verdict: Runtime Error):
x = input()
y = x*x*x
print (y)
print ("\n")


Fixed submission:
x = input()
x = int(x)
print (x*x*x)
Buggy python submission (verdict: Runtime Error):
#x = [int(i) for i in input().split()]
x = input()
import math
print(math.pi * x**2, math.pi * 2* x)


Fixed submission:
#x = [int(i) for i in input().split()]
x = float(input())
print(3.141592653589793 * x**2, 3.141592653589793 * 2* x)

Buggy python submission (verdict: Runtime Error):
x = input()
print(3.141592653589793 * x**2, 3.141592653589793 * 2* x)


Fixed submission:
#x = [int(i) for i in input().split()]
x = float(input())
print(3.141592653589793 * x**2, 3.141592653589793 * 2* x)

Buggy python submission (verdict: Runtime Error):
#x = [int(i) for i in input().split()]
x = int(input())
print(3.141592653589793 * x**2, 3.141592653589793 * 2* x)


Fixed submission:
#x = [int(i) for i in input().split()]
x = float(input())
print(3.141592653589793 * x**2, 3.141592653589793 * 2* x)

Buggy python submission (verdict: Runtime Error):
x = int(input())
print(3.141592653589793 * x**2, 3.141592653589793 * 2* x)


Fixed submission:
#x = [int(i) for i in input().split()]
x = float(input())
print(3.141592653589793 * x**2, 3.141592653589793 * 2* x)