Buggy python submission (verdict: Runtime Error):
inport sys
for i in sys.stdin:
        a,b = map(int,i.split())
        if a == 0 and b == 0:
                 break;
        if a < b:
                 print(a,b)
        else:
                 print(b,a)

Fixed submission:
import sys
for i in sys.stdin.readlines():
        a,b = i.strip().split()
        if a == "0" and b == "0":
                break

        if int(a) < int(b):
                print("{0} {1}".format(a,b))
        else:
                print("{1} {0}".format(a,b))

Buggy python submission (verdict: Runtime Error):
inport sys
for i in sys.stdin.readlines():
        a,b = i.strip().split()
        if a == 0 and b == 0:
                 break;
        if a < b:
                 print(a,b)
        else:
                 print(b,a)

Fixed submission:
import sys
for i in sys.stdin.readlines():
        a,b = i.strip().split()
        if a == "0" and b == "0":
                break

        if int(a) < int(b):
                print("{0} {1}".format(a,b))
        else:
                print("{1} {0}".format(a,b))

Buggy python submission (verdict: Runtime Error):
inport sys
for i in sys.stdin.readlines():
        a,b = i.strip().split()
        if a == "0" and b == "0":
                 break;
        if a < b:
                 print(a,b)
        else:
                 print(b,a)

Fixed submission:
import sys
for i in sys.stdin.readlines():
        a,b = i.strip().split()
        if a == "0" and b == "0":
                break

        if int(a) < int(b):
                print("{0} {1}".format(a,b))
        else:
                print("{1} {0}".format(a,b))

Buggy python submission (verdict: Runtime Error):
inport sys
for i in sys.stdin.readlines():
        a,b = i.strip().split()
        if a == "0" and b == "0":
                 break;
        if a < b:
                 print(a+" "+b)
        else:
                 print(b+" "+a)

Fixed submission:
import sys
for i in sys.stdin.readlines():
        a,b = i.strip().split()
        if a == "0" and b == "0":
                break

        if int(a) < int(b):
                print("{0} {1}".format(a,b))
        else:
                print("{1} {0}".format(a,b))

Buggy python submission (verdict: Runtime Error):
inport sys
for i in sys.stdin.readlines():
        a,b = i.strip().split()
        if x == "0" and y == "0":
                break;

        if int(x) < int(y):
                print("{0} {1}".format(x,y))
        else:
                print("{0} {1}".format(y,x))
        

Fixed submission:
import sys
for i in sys.stdin.readlines():
        a,b = i.strip().split()
        if a == "0" and b == "0":
                break

        if int(a) < int(b):
                print("{0} {1}".format(a,b))
        else:
                print("{1} {0}".format(a,b))

Buggy python submission (verdict: Runtime Error):
inport sys
for i in sys.stdin.readlines():
        a,b = i.strip().split()
        if x == "0" and y == "0":
                break;

        if int(x) < int(y):
                print("{} {}".format(x,y))
        else:
                print("{} {}".format(y,x))
        

Fixed submission:
import sys
for i in sys.stdin.readlines():
        a,b = i.strip().split()
        if a == "0" and b == "0":
                break

        if int(a) < int(b):
                print("{0} {1}".format(a,b))
        else:
                print("{1} {0}".format(a,b))

Buggy python submission (verdict: Runtime Error):
1inport sys
for i in sys.stdin.readlines():
        a,b = i.strip().split()
        if a == "0" and b == "0":
                break;

        if int(a) < int(b):
                print("{0} {1}".format(a,b))
        else:
                print("{1} {0}".format(a,b))
        

Fixed submission:
import sys
for i in sys.stdin.readlines():
        a,b = i.strip().split()
        if a == "0" and b == "0":
                break

        if int(a) < int(b):
                print("{0} {1}".format(a,b))
        else:
                print("{1} {0}".format(a,b))

Buggy python submission (verdict: Runtime Error):
1inport sys
for i in sys.stdin.readlines():
        a,b = i.strip().split()
        if a == "0" and b == "0":
                break;

        if int(a) < int(b):
                print("{} {}".format(a,b))
        else:
                print("{} {}".format(b,a))
        

Fixed submission:
import sys
for i in sys.stdin.readlines():
        a,b = i.strip().split()
        if a == "0" and b == "0":
                break

        if int(a) < int(b):
                print("{0} {1}".format(a,b))
        else:
                print("{1} {0}".format(a,b))

Buggy python submission (verdict: Runtime Error):
1inport sys
for i in sys.stdin.readlines():
        a, b = i.strip().split()
        if a == "0" and b == "0":
                break;

        if int(a) < int(b):
                print("{} {}".format(a,b))
        else:
                print("{} {}".format(b,a))
        

Fixed submission:
import sys
for i in sys.stdin.readlines():
        a,b = i.strip().split()
        if a == "0" and b == "0":
                break

        if int(a) < int(b):
                print("{0} {1}".format(a,b))
        else:
                print("{1} {0}".format(a,b))