Buggy python submission (verdict: Runtime Error):
import sys
c = 1
for i in sys.stdin.readlines() :
    l = list(int, i.split())
    a = l[0]
    b = l[1]
    if a == 0 and b == 0 :
        break
    else :
        sorted(l)
        print(l[0],l[1])
        c = c + 1

Fixed submission:
import sys
while True :
    ab = list(map(int,sys.stdin.readline().split()))
    a = ab[0]
    b = ab[1]
    if a == 0 and b == 0 :
        break
    else :
        ab = sorted(ab)
        print(ab[0],ab[1])

Buggy python submission (verdict: Runtime Error):
import sys
for i in sys.stdin.readlines() :
    l = list(int, i.split())
    a = l[0]
    b = l[1]
    if a == 0 and b == 0 :
        break
    else :
        sorted(l)
        print(l[0],l[1])

Fixed submission:
import sys
while True :
    ab = list(map(int,sys.stdin.readline().split()))
    a = ab[0]
    b = ab[1]
    if a == 0 and b == 0 :
        break
    else :
        ab = sorted(ab)
        print(ab[0],ab[1])

Buggy python submission (verdict: Runtime Error):
import sys
for i in sys.stdin.readlines() :
    l = list(int, i.split(" "))
    a = l[0]
    b = l[1]
    if a == 0 and b == 0 :
        break
    else :
        sorted(l)
        print(l[0],l[1])

Fixed submission:
import sys
while True :
    ab = list(map(int,sys.stdin.readline().split()))
    a = ab[0]
    b = ab[1]
    if a == 0 and b == 0 :
        break
    else :
        ab = sorted(ab)
        print(ab[0],ab[1])

Buggy python submission (verdict: Runtime Error):
import sys
for i in sys.stdin.readlines() :
    l = i.split()
    a = l[0]
    b = l[1]
    if a == 0 and b == 0 :
        break
    elif a > b
        print(b,a)
    else
        print(a,b)

Fixed submission:
import sys
while True :
    ab = list(map(int,sys.stdin.readline().split()))
    a = ab[0]
    b = ab[1]
    if a == 0 and b == 0 :
        break
    else :
        ab = sorted(ab)
        print(ab[0],ab[1])

Buggy python submission (verdict: Runtime Error):
import sys
while True :
    ab = sys.stdin.readline().split()
    a = ab[0]
    b = ab[1]
    if a == 0 and b == 0 :
        break
    else :
        sorted(ab)
        print(ab[0],ab[1])

Fixed submission:
import sys
while True :
    ab = list(map(int,sys.stdin.readline().split()))
    a = ab[0]
    b = ab[1]
    if a == 0 and b == 0 :
        break
    else :
        ab = sorted(ab)
        print(ab[0],ab[1])

Buggy python submission (verdict: Runtime Error):
import sys
while True :
    ab = sys.stdin.readline().split()
    a = ab[0]
    b = ab[1]
    if a == 0 and b == 0 :
        break
    else :
        #sorted(ab)
        #print(ab[0],ab[1])
        pass

Fixed submission:
import sys
while True :
    ab = list(map(int,sys.stdin.readline().split()))
    a = ab[0]
    b = ab[1]
    if a == 0 and b == 0 :
        break
    else :
        ab = sorted(ab)
        print(ab[0],ab[1])

Buggy python submission (verdict: Runtime Error):
import sys
while True :
    ab = sys.stdin.readline().split()
    a = ab[0]
    b = ab[1]
    if a == 0 and b == 0 :
        break

Fixed submission:
import sys
while True :
    ab = list(map(int,sys.stdin.readline().split()))
    a = ab[0]
    b = ab[1]
    if a == 0 and b == 0 :
        break
    else :
        ab = sorted(ab)
        print(ab[0],ab[1])

Buggy python submission (verdict: Runtime Error):
import sys
while True :
    ab = list(int,sys.stdin.readline().split())
    a = ab[0]
    b = ab[1]
    if a == 0 and b == 0 :
        break

Fixed submission:
import sys
while True :
    ab = list(map(int,sys.stdin.readline().split()))
    a = ab[0]
    b = ab[1]
    if a == 0 and b == 0 :
        break
    else :
        ab = sorted(ab)
        print(ab[0],ab[1])

Buggy python submission (verdict: Runtime Error):
import sys
while True :
    ab = sys.stdin.readline().split()
    a = ab[0].strip
    b = ab[1].strip
    if a == 0 and b == 0 :
        break
    else :
        #sorted(ab)
        #print(ab[0],ab[1])
        pass

Fixed submission:
import sys
while True :
    ab = list(map(int,sys.stdin.readline().split()))
    a = ab[0]
    b = ab[1]
    if a == 0 and b == 0 :
        break
    else :
        ab = sorted(ab)
        print(ab[0],ab[1])

Buggy python submission (verdict: Runtime Error):
import sys
while True :
    ab = sys.stdin.readline().split()
    a = ab[0].strip
    b = ab[1].strip
    if a == 0 and b == 0 :
        break

Fixed submission:
import sys
while True :
    ab = list(map(int,sys.stdin.readline().split()))
    a = ab[0]
    b = ab[1]
    if a == 0 and b == 0 :
        break
    else :
        ab = sorted(ab)
        print(ab[0],ab[1])