Buggy python submission (verdict: Runtime Error):
import sys
count = 1
while True:
  x,y = sys.stdin.readline().split.strip()
  if x == 0 and y == 0:
    break
    if x < y:
      result = (x,y)
    else:
      result = (y,x)
  print(result)
  count = count + 1

Fixed submission:
import sys
while True:
    a,b=map(int,sys.stdin.readline().split())
    if a==0 and b==0:
        break
    if a<b:print(a,b)
    else:print(b,a)

Buggy python submission (verdict: Runtime Error):
import sys
count = 1
while True:
  x,y = sys.stdin.readline().split().strip()
  if x == 0 and y == 0:
    break
    if x < y:
      result = (x,y)
    else:
      result = (y,x)
  print(result)
  count = count + 1

Fixed submission:
import sys
while True:
    a,b=map(int,sys.stdin.readline().split())
    if a==0 and b==0:
        break
    if a<b:print(a,b)
    else:print(b,a)

Buggy python submission (verdict: Runtime Error):
import sys
while True:
  x,y = sys.stdin.readline().split()
  if x == 0 and y == 0:
    break

  if x > y:
    print(y,x)
  print(x,y)

Fixed submission:
import sys
while True:
    a,b=map(int,sys.stdin.readline().split())
    if a==0 and b==0:
        break
    if a<b:print(a,b)
    else:print(b,a)

Buggy python submission (verdict: Runtime Error):
import sys
count = 1
while True:
  x,y = sys.stdin.readline().split()
  if x == 0 and y == 0:
    break

  if x > y:
    print(y,x)
  print(x,y)
  count = count + 1  

Fixed submission:
import sys
while True:
    a,b=map(int,sys.stdin.readline().split())
    if a==0 and b==0:
        break
    if a<b:print(a,b)
    else:print(b,a)

Buggy python submission (verdict: Runtime Error):
import sys
count = 1
while True:
  x,y = sys.stdin.readline().split()
  if x == 0 and y == 0:
    break

  if x > y:
    print(y,x)
  else:
  print(x,y)
  count = count + 1  

Fixed submission:
import sys
while True:
    a,b=map(int,sys.stdin.readline().split())
    if a==0 and b==0:
        break
    if a<b:print(a,b)
    else:print(b,a)

Buggy python submission (verdict: Runtime Error):
import sys
num = sys.stdin

while True:
  a,b = map(int,num.readline().split())
  if a == 0 and b == 0:
  break

  if a < b : print(a,b)
  else: print(b,a)

Fixed submission:
import sys
while True:
    a,b=map(int,sys.stdin.readline().split())
    if a==0 and b==0:
        break
    if a<b:print(a,b)
    else:print(b,a)

Buggy python submission (verdict: Runtime Error):
import sys
num = sys.stdin

while True:
  a,b = map(int,num.readline().split())
  if a == 0 and b == 0:
  break

  if a < b :print(a,b)
  else:print(b,a)

Fixed submission:
import sys
while True:
    a,b=map(int,sys.stdin.readline().split())
    if a==0 and b==0:
        break
    if a<b:print(a,b)
    else:print(b,a)

Buggy python submission (verdict: Runtime Error):
import sys
num = sys.stdin
while True:
  a,b = map(int,num.readline().split())
  if (a == 0) and (b == 0):
  break
    if a < b :print(a,b)
    else:print(b,a)

Fixed submission:
import sys
while True:
    a,b=map(int,sys.stdin.readline().split())
    if a==0 and b==0:
        break
    if a<b:print(a,b)
    else:print(b,a)

Buggy python submission (verdict: Runtime Error):
import sys
ff = sys.stdin
while True:
  a,b = map(int,ff.readline().split())
  if (a == 0) and (b == 0):
  break
    if a < b :print(a,b)
    else:print(b,a)

Fixed submission:
import sys
while True:
    a,b=map(int,sys.stdin.readline().split())
    if a==0 and b==0:
        break
    if a<b:print(a,b)
    else:print(b,a)

Buggy python submission (verdict: Runtime Error):
import sys    
while True :
    a, b = map(int, sys.stdin.readline().split())
    if (a == 0) & (b == 0) :
        break
      if a < b : print(a, b)
      else : print(b, a)

Fixed submission:
import sys
while True:
    a,b=map(int,sys.stdin.readline().split())
    if a==0 and b==0:
        break
    if a<b:print(a,b)
    else:print(b,a)

Buggy python submission (verdict: Runtime Error):
import sys
while True:
    a,b=map(int,stdin.readline().split())
    if a==0 and b==0:
        break
    if a<b:print(a,b)
    else:print(b,a)

Fixed submission:
import sys
while True:
    a,b=map(int,sys.stdin.readline().split())
    if a==0 and b==0:
        break
    if a<b:print(a,b)
    else:print(b,a)