Buggy python submission (verdict: Runtime Error):
a=[]
while True:
 n=input()
 if int(n)==0:break
 a.append(n)
for s in a:
 x,y=s.split()
 if x>y:print(f'{y} < x')
 else:print(s)

Fixed submission:
import sys
for s in sys.stdin:
 if'0 0\n'==s:break
 print(*sorted(map(int,s.split())))

Buggy python submission (verdict: Runtime Error):
a=[]
while True:
 n=input()
 if int(n)==0:break
 a.append(n)
for s in a:
 x,y=s.split()
 if x>y:print(f'{y} < x')
 else:print(s)

Fixed submission:
import sys
for s in sys.stdin:
 if'0 0\n'==s:break
 print(*sorted(map(int,s.split())))

Buggy python submission (verdict: Runtime Error):
a=[]
while True:
 n=input()
 if int(n)==0:break
 a.append(n)
for s in a:
 x,y=s.split()
 if x>y:print(f'{y} < {x}')
 else:print(s)

Fixed submission:
import sys
for s in sys.stdin:
 if'0 0\n'==s:break
 print(*sorted(map(int,s.split())))

Buggy python submission (verdict: Runtime Error):
a=[]
while True:
 n=input()
 if int(n)==0:break
 a.append(n)
for s in a:
 x,y=map(int,s.split())
 if x>y:print(f'{y} {x}')
 else:print(s)

Fixed submission:
import sys
for s in sys.stdin:
 if'0 0\n'==s:break
 print(*sorted(map(int,s.split())))

Buggy python submission (verdict: Runtime Error):
while True:
 a=input
 x,y=map(int,a.split())
 if x*y==0:break
 if x>y:print(f'{y} {x}')
 else:print(a)

Fixed submission:
import sys
for s in sys.stdin:
 if'0 0\n'==s:break
 print(*sorted(map(int,s.split())))

Buggy python submission (verdict: Runtime Error):
a=[]
while 1:
 n=input()
 if n=='0 0':break
 x,y=map(int,n.split())
 if x>y:print(y+' '+x)
 else:print(n)

Fixed submission:
import sys
for s in sys.stdin:
 if'0 0\n'==s:break
 print(*sorted(map(int,s.split())))

Buggy python submission (verdict: Runtime Error):
a=[]
while 1:
 n=input()
 if n=='0 0':break
 x,y=map(int,n.split())
 print(y,x) if x>y else:print(n)

Fixed submission:
import sys
for s in sys.stdin:
 if'0 0\n'==s:break
 print(*sorted(map(int,s.split())))

Buggy python submission (verdict: Runtime Error):
import sys
for a.strip() in sys.stdin:
 if a=='0 0':break
 print(*sorted(map(int,a.split())))

Fixed submission:
import sys
for s in sys.stdin:
 if'0 0\n'==s:break
 print(*sorted(map(int,s.split())))

Buggy python submission (verdict: Runtime Error):
a=[]
while 1:
 n=input()
 if n=='0 0':break
 a.append(n)
for s in a:
 print(*sorted(map(int,a.split())))

Fixed submission:
import sys
for s in sys.stdin:
 if'0 0\n'==s:break
 print(*sorted(map(int,s.split())))

Buggy python submission (verdict: Runtime Error):
a=[]
while 1:
 n=input()
 if n=='0 0':break
 a.append(n)
for s in a:
 print(*sorted(map(int,a.split())))

Fixed submission:
import sys
for s in sys.stdin:
 if'0 0\n'==s:break
 print(*sorted(map(int,s.split())))

Buggy python submission (verdict: Runtime Error):
a=[]
import sys
for s.strip() in sys.stdin:
 if s=='0 0':break
 a.append(s)
for t in a:
 x,y=map(int,t.split())
 print(f'{y} {x}') if x>y else print(t)

Fixed submission:
import sys
for s in sys.stdin:
 if'0 0\n'==s:break
 print(*sorted(map(int,s.split())))

Buggy python submission (verdict: Runtime Error):
a=[]
import sys
for s in sys.stdin:
 s=s.strip()
 if s=='0 0':break
 a.append(s)
for t in a:
 print(*sorted(map(int,t)))

Fixed submission:
import sys
for s in sys.stdin:
 if'0 0\n'==s:break
 print(*sorted(map(int,s.split())))