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

while 1:
  str = sys.stdin.readline().strip()
  if str=="0 0":
    break
  print(int(str.split(" ")).sort)

Fixed submission:
import sys

while 1:
  a , b = sys.stdin.readline().split()
  if a == b == "0":
    break
  elif int(a) > int(b) :
    print(b,a)
  else :
    print(a,b)

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

while 1:
  str = sys.stdin.readline().strip()
  if str=="0 0":
    break
  print(map(int,str.split(" ")).sort)

Fixed submission:
import sys

while 1:
  a , b = sys.stdin.readline().split()
  if a == b == "0":
    break
  elif int(a) > int(b) :
    print(b,a)
  else :
    print(a,b)

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

while 1:
  str = sys.stdin.readline()
  if str=="0 0":
    break
  a , b = sorted(str.split(" "), key=int)
  print(a,b)

Fixed submission:
import sys

while 1:
  a , b = sys.stdin.readline().split()
  if a == b == "0":
    break
  elif int(a) > int(b) :
    print(b,a)
  else :
    print(a,b)

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

while 1:
  str = sys.stdin.readline().strip()
  a , b = sorted(str.split(" "), key=int)
  if a , b == 0:
    break
  print(a,b)

Fixed submission:
import sys

while 1:
  a , b = sys.stdin.readline().split()
  if a == b == "0":
    break
  elif int(a) > int(b) :
    print(b,a)
  else :
    print(a,b)

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

while 1:
  str = sys.stdin.readline().strip()
  a , b = sorted(str.split(" "), key=int)
  if a, b == "0":
    break
  print(a,b)

Fixed submission:
import sys

while 1:
  a , b = sys.stdin.readline().split()
  if a == b == "0":
    break
  elif int(a) > int(b) :
    print(b,a)
  else :
    print(a,b)

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

while 1:
  a , b = map(int,sys.stdin.readline().split())
  if a == b == 0:
    break
  elif a > b :
    print(b,a)
  else :
	print(a,b)

Fixed submission:
import sys

while 1:
  a , b = sys.stdin.readline().split()
  if a == b == "0":
    break
  elif int(a) > int(b) :
    print(b,a)
  else :
    print(a,b)

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

while 1:
  a , b = map(int(),sys.stdin.readline().split())
  if a == b == 0:
    break
  elif a > b :
    print(b,a)
  else :
	print(a,b)

Fixed submission:
import sys

while 1:
  a , b = sys.stdin.readline().split()
  if a == b == "0":
    break
  elif int(a) > int(b) :
    print(b,a)
  else :
    print(a,b)

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

while 1:
  a , b = map(int,sys.stdin.readline().split())
  #if a == b == 0:
    break
  #elif a > b :
  #  print(b,a)
  #else :
#	print(a,b)

Fixed submission:
import sys

while 1:
  a , b = sys.stdin.readline().split()
  if a == b == "0":
    break
  elif int(a) > int(b) :
    print(b,a)
  else :
    print(a,b)

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

while 1:
  a , b = map(int, sys.stdin.readline().split())
  #if a == b == 0:
    break
  #elif a > b :
  #  print(b,a)
  #else :
#	print(a,b)

Fixed submission:
import sys

while 1:
  a , b = sys.stdin.readline().split()
  if a == b == "0":
    break
  elif int(a) > int(b) :
    print(b,a)
  else :
    print(a,b)

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

while 1:
  a , b = map(int, sys.stdin.readline().split())

Fixed submission:
import sys

while 1:
  a , b = sys.stdin.readline().split()
  if a == b == "0":
    break
  elif int(a) > int(b) :
    print(b,a)
  else :
    print(a,b)

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

while 1:
  a , b = map(int, sys.stdin.readline().split())
  if a == b == 0:
  break

Fixed submission:
import sys

while 1:
  a , b = sys.stdin.readline().split()
  if a == b == "0":
    break
  elif int(a) > int(b) :
    print(b,a)
  else :
    print(a,b)