Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input().split())
if a < b:
 if b < c:
  print "yes"
elif:
 print "no"

Fixed submission:
a, b, c = map(int, raw_input().split())
if a < b and b < c:
 print "Yes"
else:
 print "No"

Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input().split())
if a < b:
 if b < c:
  print "Yes"
elif:
 print "No"

Fixed submission:
a, b, c = map(int, raw_input().split())
if a < b and b < c:
 print "Yes"
else:
 print "No"

Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input().split())
if a < b < c:
 
  print "Yes"
elif:
 print "No"

Fixed submission:
a, b, c = map(int, raw_input().split())
if a < b and b < c:
 print "Yes"
else:
 print "No"

Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input().split())
if a < b < c:
 print "Yes"
elif:
 print "No"

Fixed submission:
a, b, c = map(int, raw_input().split())
if a < b and b < c:
 print "Yes"
else:
 print "No"

Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input().split())
if a < b:
 if b < c:
  print "Yes"
else:
 print "No"

Fixed submission:
a, b, c = map(int, raw_input().split())
if a < b and b < c:
 print "Yes"
else:
 print "No"

Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input().split())
if a < b:
 if b < c:
  print ("Yes")
else:
 print ("No")

Fixed submission:
a, b, c = map(int, raw_input().split())
if a < b and b < c:
 print "Yes"
else:
 print "No"

Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input().split(""))
if a < b:
 if b < c:
  print ("Yes")
else:
 print ("No")

Fixed submission:
a, b, c = map(int, raw_input().split())
if a < b and b < c:
 print "Yes"
else:
 print "No"

Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input().split(""))
if a < b < c:
 print ("Yes")
else:
 print ("No")

Fixed submission:
a, b, c = map(int, raw_input().split())
if a < b and b < c:
 print "Yes"
else:
 print "No"

Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input().split(""))
if a < b and b < c:
 print ("Yes")
else:
 print ("No")

Fixed submission:
a, b, c = map(int, raw_input().split())
if a < b and b < c:
 print "Yes"
else:
 print "No"

Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input().split(""))
if a < b and b < c:
 print ("Yes")
else:
 print ("No")

Fixed submission:
a, b, c = map(int, raw_input().split())
if a < b and b < c:
 print "Yes"
else:
 print "No"

Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input().split(""))
if a < b and b < c:
 print "Yes"
else:
 print "No"

Fixed submission:
a, b, c = map(int, raw_input().split())
if a < b and b < c:
 print "Yes"
else:
 print "No"

Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, raw_input().split(""))
if a < b and b < c:
 print "Yes"
else:
 print "No"

Fixed submission:
a, b, c = map(int, raw_input().split())
if a < b and b < c:
 print "Yes"
else:
 print "No"
Buggy python submission (verdict: Runtime Error):
x, y, r, W, H = map(int, input().split())
if r < x and x < W - r:
 if r < y and y < H - r:
  print "Yes"

else:
 print "No"

Fixed submission:
W, H, x, y, r = map(int, raw_input().split())

if x < r or x + r > W or y < r or y + r >H :
  print "No"
else:
 print "Yes"

Buggy python submission (verdict: Runtime Error):
W, H, x, y, r = map(int, raw_input().split())

if r <= x and x <= W - r:
 if r <= y and y <= H - r:
  print "Yes"
 else "No"

else:
 print "No"

Fixed submission:
W, H, x, y, r = map(int, raw_input().split())

if x < r or x + r > W or y < r or y + r >H :
  print "No"
else:
 print "Yes"

Buggy python submission (verdict: Runtime Error):
W, H, x, y, r = map(int, raw_input().split())

if r <= x and x <= W - r:
 if r <= y and y <= H - r:
  print "Yes"
 else:
 print "No"

else:
 print "No"

Fixed submission:
W, H, x, y, r = map(int, raw_input().split())

if x < r or x + r > W or y < r or y + r >H :
  print "No"
else:
 print "Yes"
Buggy python submission (verdict: Runtime Error):

for i in range(n)
 i += 1
 x = input()
 if x == 0:
  break:
 print "case %d: %d" %(i x)

Fixed submission:
 

import sys
for i,ws in enumerate(sys.stdin, 1):
    w = ws[:-1]
    if w =='0': break
    print 'Case %d: %s' % (i, w)

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

while True:
 i += 1
 x = input()
 if x == 0:
  break:
 print "case %d: %s" %(i x)

Fixed submission:
 

import sys
for i,ws in enumerate(sys.stdin, 1):
    w = ws[:-1]
    if w =='0': break
    print 'Case %d: %s' % (i, w)

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

while True:
 i += 1
 x = raw_input()
 if x == 0:
  break:
 print "case %d: %s" % (i, x)

Fixed submission:
 

import sys
for i,ws in enumerate(sys.stdin, 1):
    w = ws[:-1]
    if w =='0': break
    print 'Case %d: %s' % (i, w)

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

while True:
 i += 1
 x = raw_input()
 if x == "0":
  break:
 print "case %d: %s" % (i, x)

Fixed submission:
 

import sys
for i,ws in enumerate(sys.stdin, 1):
    w = ws[:-1]
    if w =='0': break
    print 'Case %d: %s' % (i, w)

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

 while True:
  i += 1
  x = raw_input()
  if x == '0':
   break
  print 'case %d: %s' % (i,x)

Fixed submission:
 

import sys
for i,ws in enumerate(sys.stdin, 1):
    w = ws[:-1]
    if w =='0': break
    print 'Case %d: %s' % (i, w)

Buggy python submission (verdict: Runtime Error):
 i=0
while True:
    i+=1
    x=raw_input()
    if x=='0':
        break
    print 'Case %d: %s' % (i,x)

Fixed submission:
 

import sys
for i,ws in enumerate(sys.stdin, 1):
    w = ws[:-1]
    if w =='0': break
    print 'Case %d: %s' % (i, w)

Buggy python submission (verdict: Runtime Error):
 i = 1
while 1:
    x = raw_input()
    if x == '0':
        break
    print 'Case %d: %s' % (i, x)
    i+=1

Fixed submission:
 

import sys
for i,ws in enumerate(sys.stdin, 1):
    w = ws[:-1]
    if w =='0': break
    print 'Case %d: %s' % (i, w)

Buggy python submission (verdict: Runtime Error):
 

import sys
for i,ws in enumerate(sys.stdin, 1):
    w = ws[:-1]
    if w =='0': break
    print 'Case %d: %s' % (i, w)
 

 
Compile Error Logs: 

You are not authorized to see the message. 
 
 
Status 
 

Fixed submission:
 

import sys
for i,ws in enumerate(sys.stdin, 1):
    w = ws[:-1]
    if w =='0': break
    print 'Case %d: %s' % (i, w)
Buggy python submission (verdict: Runtime Error):
x, y = map(int, raw_input.split())



while True:
  if x < y:
     print 'x, y'
  if x > y :
     print 'y, x'
  if x == y == 0:
     break

 

Fixed submission:



while 1:
  x, y = map(int, raw_input().split())
  if x == y == 0:
     break


  if x < y:
     print '%d %d' %(x, y)
  elif x > y :
     print '%d %d' %(y, x)
  elif x == y:
     print '%d %d' %(x, y)

Buggy python submission (verdict: Runtime Error):
x, y = map(int, raw_input.split())



while True:
  if x < y:
     print 'x y'
  if x > y :
     print 'y x'
  elif x == y:
     print 'x y'
  if x == y == 0:
     break

 

Fixed submission:



while 1:
  x, y = map(int, raw_input().split())
  if x == y == 0:
     break


  if x < y:
     print '%d %d' %(x, y)
  elif x > y :
     print '%d %d' %(y, x)
  elif x == y:
     print '%d %d' %(x, y)

Buggy python submission (verdict: Runtime Error):
x, y = map(int, raw_input.split())



while True:
  if x < y:
     print 'x y'
  elif x > y :
     print 'y x'
  elif x == y:
     print 'x y'
  if x == y == 0:
     break

 

Fixed submission:



while 1:
  x, y = map(int, raw_input().split())
  if x == y == 0:
     break


  if x < y:
     print '%d %d' %(x, y)
  elif x > y :
     print '%d %d' %(y, x)
  elif x == y:
     print '%d %d' %(x, y)

Buggy python submission (verdict: Runtime Error):



while True:
  x, y = map(int, raw_input.split())
  if x < y:
     print 'x y'
  elif x > y :
     print 'y x'
  elif x == y:
     print 'x y'
  if x == y == 0:
     break

 

Fixed submission:



while 1:
  x, y = map(int, raw_input().split())
  if x == y == 0:
     break


  if x < y:
     print '%d %d' %(x, y)
  elif x > y :
     print '%d %d' %(y, x)
  elif x == y:
     print '%d %d' %(x, y)

Buggy python submission (verdict: Runtime Error):



while True:
  x, y = map(int, raw_input.split())
  if x < y:
     print '%d %d' %(x, y)
  elif x > y :
     print '%d %d' %(y, x)
  elif x == y:
     print '%d %d' %(x, y)
  if x == y == 0:
     break

 

Fixed submission:



while 1:
  x, y = map(int, raw_input().split())
  if x == y == 0:
     break


  if x < y:
     print '%d %d' %(x, y)
  elif x > y :
     print '%d %d' %(y, x)
  elif x == y:
     print '%d %d' %(x, y)

Buggy python submission (verdict: Runtime Error):



while True:
  x, y = map(int, raw_input.split())
  if x == y == 0:
     break


  if x < y:
     print '%d %d' %(x, y)
  elif x > y :
     print '%d %d' %(y, x)
  elif x == y:
     print '%d %d' %(x, y)

 

Fixed submission:



while 1:
  x, y = map(int, raw_input().split())
  if x == y == 0:
     break


  if x < y:
     print '%d %d' %(x, y)
  elif x > y :
     print '%d %d' %(y, x)
  elif x == y:
     print '%d %d' %(x, y)
Buggy python submission (verdict: Runtime Error):
import math

r = import()

print ("%f.6 %f.6" % (math.pi*r*r, math.2*pi*r))

Fixed submission:
import math

r = input()

print("%f %f" % (math.pi * r ** 2, 2 * math.pi * r))

Buggy python submission (verdict: Runtime Error):
import math

r = import()

print ("%f %f" % (math.pi*r*r, math.2*pi*r))

Fixed submission:
import math

r = input()

print("%f %f" % (math.pi * r ** 2, 2 * math.pi * r))

Buggy python submission (verdict: Runtime Error):
import math

r = import()

print ("%f %f" % (math.pi*r*r, 2*math.pi*r))

Fixed submission:
import math

r = input()

print("%f %f" % (math.pi * r ** 2, 2 * math.pi * r))

Buggy python submission (verdict: Runtime Error):
import math

r = imput()

print ("%f %f" % (math.pi * r * r, 2 * math.pi * r))

Fixed submission:
import math

r = input()

print("%f %f" % (math.pi * r ** 2, 2 * math.pi * r))

Buggy python submission (verdict: Runtime Error):
import math

r = imput()

print("%f %f" % (math.pi * r * r, 2 * math.pi * r))

Fixed submission:
import math

r = input()

print("%f %f" % (math.pi * r ** 2, 2 * math.pi * r))

Buggy python submission (verdict: Runtime Error):
import math

r = imput()

print("%f %f" % (math.pi * r ** 2, 2 * math.pi * r))

Fixed submission:
import math

r = input()

print("%f %f" % (math.pi * r ** 2, 2 * math.pi * r))
Buggy python submission (verdict: Runtime Error):
n=0
m=input()
c=[0 for i in xrange(m)]
t=[0 for i in xrange(m)]


def d(u):
    global n
    if ts[u]:return
    n = n + 1
    ts[u]=[u+1,n]
    for i in c[u]:d(i-1)
    n = n + 1
    ts[u][2:]=[n]

def dfs():
    for i in range(m):
     l=map(int,raw_input().split())
     c[l[0]-1]=l[2:]
    for i in range(m):
     d(i)
     print " ".join(map(str,t[i]))

dfs()

Fixed submission:
n=0
m=input()
c=[0 for i in xrange(m)]
ts=[0 for i in xrange(m)]


def dfs_visit(u):
    global n
    if ts[u]:return
    n = n + 1
    ts[u]=[u+1,n]
    for i in c[u]:dfs_visit(i-1)
    n = n + 1
    ts[u][2:]=[n]

def dfs():
    for i in range(m):
     l=map(int,raw_input().split())
     c[l[0]-1]=l[2:]
    for i in range(m):
     dfs_visit(i)
     print " ".join(map(str,ts[i]))

dfs()

Buggy python submission (verdict: Runtime Error):
n=0
m=input()
c=[0 for i in xrange(m)]
t=[0 for i in xrange(m)]


def d(u):
    global n
    if ts[u]:return
    n = n + 1
    ts[u]=[u+1,n]
    for i in c[u]:d(i-1)
    n = n + 1
    ts[u][2:]=[n]

def dfs():
    for i in range(m):
     l=map(int,raw_input().split())
     c[l[0]-1]=l[2:]
    for i in range(m):
     d(i)
     print " ".join(map(str,ts[i]))

dfs()

Fixed submission:
n=0
m=input()
c=[0 for i in xrange(m)]
ts=[0 for i in xrange(m)]


def dfs_visit(u):
    global n
    if ts[u]:return
    n = n + 1
    ts[u]=[u+1,n]
    for i in c[u]:dfs_visit(i-1)
    n = n + 1
    ts[u][2:]=[n]

def dfs():
    for i in range(m):
     l=map(int,raw_input().split())
     c[l[0]-1]=l[2:]
    for i in range(m):
     dfs_visit(i)
     print " ".join(map(str,ts[i]))

dfs()
Buggy python submission (verdict: Runtime Error):
a = input()
return a*a*a

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

Buggy python submission (verdict: Runtime Error):
a = input()
return a*a*a

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

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

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

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

Fixed submission:
x = input()
print x*x*x
Buggy python submission (verdict: Runtime Error):
a = input()
b = input()
print a*b +' ' + 2*(a+b)

Fixed submission:
m = map(int,raw_input().split())
print m[0]*m[1],2*(m[0]+m[1])

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

Fixed submission:
m = map(int,raw_input().split())
print m[0]*m[1],2*(m[0]+m[1])

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

Fixed submission:
m = map(int,raw_input().split())
print m[0]*m[1],2*(m[0]+m[1])

Buggy python submission (verdict: Runtime Error):
a[1] = input()
print a[0]*a[1]+' '+2*(a[0]+a[1])

Fixed submission:
m = map(int,raw_input().split())
print m[0]*m[1],2*(m[0]+m[1])

Buggy python submission (verdict: Runtime Error):
a = input()
b = input()
print a*b + " " + 2*(a+b)

Fixed submission:
m = map(int,raw_input().split())
print m[0]*m[1],2*(m[0]+m[1])

Buggy python submission (verdict: Runtime Error):
a = input()
b = input()
print str(a*b) + " " + str(2*(a+b))

Fixed submission:
m = map(int,raw_input().split())
print m[0]*m[1],2*(m[0]+m[1])

Buggy python submission (verdict: Runtime Error):
m = map(int, input().split())
print m[0]*m[1],2*(m[0]+m[1])

Fixed submission:
m = map(int,raw_input().split())
print m[0]*m[1],2*(m[0]+m[1])

Buggy python submission (verdict: Runtime Error):
m = map(int,input().split())
print m[0]*m[1],2*(m[0]+m[1])

Fixed submission:
m = map(int,raw_input().split())
print m[0]*m[1],2*(m[0]+m[1])

Buggy python submission (verdict: Runtime Error):
m = map(int,input().split())
print m[0]*m[1],2*(m[0]+m[1])

Fixed submission:
m = map(int,raw_input().split())
print m[0]*m[1],2*(m[0]+m[1])
Buggy python submission (verdict: Runtime Error):
m = map(int,raw_input().split())
if m[0] < m[1]:
 print a + " < " + b
elif m[0] == m[1]:
 print a + " == " + b
elif m[0] > m[1]:
 print a + " > " + b

Fixed submission:
m = map(int,raw_input().split())
if m[0] < m[1]:
 print "a" + " < " + "b"
elif m[0] == m[1]:
 print "a" + " == " + "b"
elif m[0] > m[1]:
 print "a" + " > " + "b"
Buggy python submission (verdict: Runtime Error):
m = map(int,raw_input().split())
if m[0] < m[1] < m[2]:
 print Yes
else:
 print No

Fixed submission:

n = map(int,raw_input().split())

if n[0] < n[1] < n[2]:
 print "Yes"
else:
 print "No"

Buggy python submission (verdict: Runtime Error):
m = map(int,raw_input().split())
if m[0] < m[1] < m[2]:
 print Yes
else:
 print No

Fixed submission:

n = map(int,raw_input().split())

if n[0] < n[1] < n[2]:
 print "Yes"
else:
 print "No"
Buggy python submission (verdict: Runtime Error):
n = 10
while n != 0:
 n = input()
 print "Case " + str(i) + ": " +str(n)

Fixed submission:
n = 10
i = 1
while n != 0:
 n = input()
 if n == 0:
     break
 print "Case " + str(i) + ": " +str(n)
 i = i + 1

Buggy python submission (verdict: Runtime Error):
n = 10
while n != 0:
 n = input()
 print "Case " + str(i) + ": " +str(n)

Fixed submission:
n = 10
i = 1
while n != 0:
 n = input()
 if n == 0:
     break
 print "Case " + str(i) + ": " +str(n)
 i = i + 1

Buggy python submission (verdict: Runtime Error):
n = 10
while n != 0:
 n = raw_input()
 print "Case " + str(i) + ": " +str(n)

Fixed submission:
n = 10
i = 1
while n != 0:
 n = input()
 if n == 0:
     break
 print "Case " + str(i) + ": " +str(n)
 i = i + 1

Buggy python submission (verdict: Runtime Error):
n = 10
i = 1
while n != 0:
 n = raw_input()
 i = i + 1
 print "Case " + str(i) + ": " +str(n)

Fixed submission:
n = 10
i = 1
while n != 0:
 n = input()
 if n == 0:
     break
 print "Case " + str(i) + ": " +str(n)
 i = i + 1
Buggy python submission (verdict: Runtime Error):
n = 10
i = 1
while x != 0 and y != 0:
 n = map(int,raw_input(),split())
 x = n[0]
 y = n[1]
 if x == 0 and y == 0:
  break
 if x >= y:
  print y,x
 else
  print x,y
 i = i + 1

Fixed submission:
x = 1
y = 1
while x != 0 or y != 0:
 n = map(int,raw_input().split())
 x = n[0]
 y = n[1]
 if x == 0 and y == 0:
  break
 elif x <= y:
  print x,y
 elif x >  y:
  print y,x

Buggy python submission (verdict: Runtime Error):
x = 1
y = 1

while x != 0 or y != 0:
 n = map(int,raw_input().split())
 x = n[0]
 y = n[1]
 if x == 0 and y == 0:
  break
 elif x <= y:
  print x,y
 elif x >  y:
  print y,x1

Fixed submission:
x = 1
y = 1
while x != 0 or y != 0:
 n = map(int,raw_input().split())
 x = n[0]
 y = n[1]
 if x == 0 and y == 0:
  break
 elif x <= y:
  print x,y
 elif x >  y:
  print y,x

Buggy python submission (verdict: Runtime Error):
x = 1
y = 1

while x != 0 or y != 0:
 n = map(int,raw_input().split())
 x = n[0]
 y = n[1]
 if x == 0 and y == 0:
  break
 elif x <= y:
  print x,y
 elif x >  y:
  print y,x1

Fixed submission:
x = 1
y = 1
while x != 0 or y != 0:
 n = map(int,raw_input().split())
 x = n[0]
 y = n[1]
 if x == 0 and y == 0:
  break
 elif x <= y:
  print x,y
 elif x >  y:
  print y,x
Buggy python submission (verdict: Runtime Error):
m = map(int,raw_input().split())
i = m[0]
count = 0
for i in xrange(m[1]):
 if m[2] % i == 0:
  count = count + 1

Fixed submission:
m = map(int, raw_input().split())
c = 0


for i in xrange(m[0],m[1]+1):
  if m[2] % i == 0:
   c = c + 1
print c

Buggy python submission (verdict: Runtime Error):
m = map(int,raw_input().split())
i = m[0]
count = 0
for i in xrange(m[1]):
 if m[2] % i == 0:
  count = count + 1

Fixed submission:
m = map(int, raw_input().split())
c = 0


for i in xrange(m[0],m[1]+1):
  if m[2] % i == 0:
   c = c + 1
print c

Buggy python submission (verdict: Runtime Error):
m = map(int, raw_input().split())
a = m[0]
b = m[1]
c = m[2]

for i in xrange(a,b):
 if c % i == 0:
  count = count + 1
print count

Fixed submission:
m = map(int, raw_input().split())
c = 0


for i in xrange(m[0],m[1]+1):
  if m[2] % i == 0:
   c = c + 1
print c

Buggy python submission (verdict: Runtime Error):
n = map(int,raw_input().split())

c = 0

for i in range(n[0],[1]):
 if i % n[2] == 0:
  c = c + 1

print c

Fixed submission:
m = map(int, raw_input().split())
c = 0


for i in xrange(m[0],m[1]+1):
  if m[2] % i == 0:
   c = c + 1
print c

Buggy python submission (verdict: Runtime Error):
n = map(int,raw_input().split())

c = 0

for i in range(n[0],[1]):
 if i % n[2] == 0:
  c = c + 1

print c

Fixed submission:
m = map(int, raw_input().split())
c = 0


for i in xrange(m[0],m[1]+1):
  if m[2] % i == 0:
   c = c + 1
print c

Buggy python submission (verdict: Runtime Error):
m = map(int, raw_input().split())
c = 0
for i in range(m[0],[1]):
 if i % m[2] == 0 :
  c = c + 1
print c

Fixed submission:
m = map(int, raw_input().split())
c = 0


for i in xrange(m[0],m[1]+1):
  if m[2] % i == 0:
   c = c + 1
print c

Buggy python submission (verdict: Runtime Error):
m = map(int, raw_input().split())
c = 0


 for i in xrange(m[0],m[1]+1):
  if m[2] % i == 0:
   c = c + 1
 print c

Fixed submission:
m = map(int, raw_input().split())
c = 0


for i in xrange(m[0],m[1]+1):
  if m[2] % i == 0:
   c = c + 1
print c
Buggy python submission (verdict: Runtime Error):
x = True
while x == True:

 m = map(int,raw_input().split())

 if m[0] == 0 and m[1] == 0:
     break

 for i in xrange(m[0]):
    print "#" * m[1]
 print ""

Fixed submission:

n = input()
m = map(int,raw_input().split())
a = 0
for i in xrange(n):
    a += m[i]

print min(m),max(m),a

Buggy python submission (verdict: Runtime Error):
x = 0
while x == 0:

 m = map(int,raw_input().split())

 if m[0] == 0 and m[1] == 0:
     break

 for i in xrange(m[0]):
    print "#" * m[1]
 print ""

Fixed submission:

n = input()
m = map(int,raw_input().split())
a = 0
for i in xrange(n):
    a += m[i]

print min(m),max(m),a
Buggy python submission (verdict: Runtime Error):
import sys
n = input()
m = map(int, raw_input().split())
m2 = [0 for i in xrange(n)]

for i in xrange(n):
    m2[n-i-1] = m[i]

for i in xrange(n):
    stdout.write(str(m2[i]))
    stdout.write(" ")

Fixed submission:
n = input()
m = map(int, raw_input().split())
m2 = [0 for i in xrange(n)]

for i in xrange(n):
    m2[n-i-1] = m[i]

for i in xrange(n):
    print m2[i],
Buggy python submission (verdict: Runtime Error):
n = input()
A = map(int, raw_input().split())
q = input()
M = map(int, raw_input().split())

def solve(i, m):
    if m == 0:
        return True
    if n <= i or sum(A) < m:
        return False
    res = (solve(i+1, m) or solve(i+1, m-A[i]))
    return res 
 
for m inrange M:
    if solve(0, m):
        print "yes"
    else:
        print "no"

Fixed submission:
n = input()
A = map(int, raw_input().split())
q = input()
M = map(int, raw_input().split())

def solve(i, m):
    if m == 0:
        return True
    if n <= i or sum(A) < m:
        return False
    x = (solve(i+1, m) or solve(i+1, m-A[i]))
    return  x
 
for m in M:
    if solve(0, m):
        print "yes"
    else:
        print "no"

Buggy python submission (verdict: Runtime Error):
n = input()
A = map(int, raw_input().split())
q = input()
M = map(int, raw_input().split())

def solve(i, m):
    if m == 0:
        return True
    if n <= i or sum(A) < m:
        return False
    res = (solve(i+1, m) or solve(i+1, m-A[i]))
    return res 
 
for m in range M:
    if solve(0, m):
        print "yes"
    else:
        print "no"

Fixed submission:
n = input()
A = map(int, raw_input().split())
q = input()
M = map(int, raw_input().split())

def solve(i, m):
    if m == 0:
        return True
    if n <= i or sum(A) < m:
        return False
    x = (solve(i+1, m) or solve(i+1, m-A[i]))
    return  x
 
for m in M:
    if solve(0, m):
        print "yes"
    else:
        print "no"

Buggy python submission (verdict: Runtime Error):
n = input()
A = map(int, raw_input().split())
q = input()
M = map(int, raw_input().split())

def solve(i, m):
    if m == 0:
        return True
    if n <= i or sum(A) < m:
        return False
    res = (solve(i+1, m) or solve(i+1, m-A[i]))
    return res 
 
for m in range (M):
    if solve(0, m):
        print "yes"
    else:
        print "no"

Fixed submission:
n = input()
A = map(int, raw_input().split())
q = input()
M = map(int, raw_input().split())

def solve(i, m):
    if m == 0:
        return True
    if n <= i or sum(A) < m:
        return False
    x = (solve(i+1, m) or solve(i+1, m-A[i]))
    return  x
 
for m in M:
    if solve(0, m):
        print "yes"
    else:
        print "no"
Buggy python submission (verdict: Runtime Error):
a = 3
return a*a*a

Fixed submission:
a = input()
print a**3
Buggy python submission (verdict: Runtime Error):
def_input(a,b):
  print a*b 2*(a+b)

Fixed submission:
a,b = map(int, raw_input().split())
s = a*b
l = 2*a + 2*b
print s, l

Buggy python submission (verdict: Runtime Error):
[a,b] = input()
print a*b 2*(a+b)

Fixed submission:
a,b = map(int, raw_input().split())
s = a*b
l = 2*a + 2*b
print s, l
Buggy python submission (verdict: Runtime Error):

raw_time = int(raw_input())
 
if 0 <= raw_time < 86400:
    hour = raw_time / 3600
    min = (raw_time - hour * 3600) / 60
    sec = (raw_time - hour * 3600 - min * 60)
    print(%d:%d:%d)%(hour, min, sec)

Fixed submission:
raw_time = int(raw_input())
 
if 0 <= raw_time < 86400:
    hour = raw_time / 3600
    min = (raw_time - hour * 3600) / 60
    sec = (raw_time - hour * 3600 - min * 60)
    print("%d:%d:%d")%(hour, min, sec)

Buggy python submission (verdict: Runtime Error):
raw_time = int(raw_input())
 
if 0 <= raw_time < 86400:
    hour = raw_time / 3600
    min = (raw_time - hour * 3600) / 60
    sec = (raw_time - hour * 3600 - min * 60)
    print(%d:%d:%d)%(hour, min, sec)

Fixed submission:
raw_time = int(raw_input())
 
if 0 <= raw_time < 86400:
    hour = raw_time / 3600
    min = (raw_time - hour * 3600) / 60
    sec = (raw_time - hour * 3600 - min * 60)
    print("%d:%d:%d")%(hour, min, sec)