Buggy python submission (verdict: Runtime Error):
sum = 0
while 1:
   x, y =map(int, raw_input().split())
   sum = sum + 1
   if x == y == '0':
      break
   print sorted(x, y)

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
sum = 0
while 1:
   x, y =map(int, raw_input().split())
   sum = sum + 1
   a = max(x, y)
   b = min(x, y)
   if x == y == '0':
      break
   print '%s %s' %(b, a)

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
sum = 0
while 1:
   x, y = map(int, raw_input().split())
   sum = sum + 1
   a = max(x, y)
   b = min(x, y)
   if x == y == '0':
      break
   print '%s %s' %(b, a)

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
sum = 0
while 1:
   x, y = map(int, raw_input().split())
   sum = sum + 1
   a = max(x, y)
   b = min(x, y)
   if x == '0' and y == '0':
      break
   print '%s %s' %(b, a)

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
while 1:
   x, y = map(int, raw_input().split())
   if x <= y:
      print (x y)
      if x == y == 0:
         break
   if y < x:
      print (y x)
   
   

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):

   while 1:
   x, y = map(int, raw_input().split())
   if x <= y:
      print '%d %d' %(x, y)
   if y < x:
      print '%d %d' %(y, x)
   if x == y == 0:
      break

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
 x, y = map(int, raw_input().split())
 if x <= y:
    print '%d %d' %(x, y)
 if y < x:
    print '%d %d' %(y, x)
 if x == y == 0:
    break

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
 x, y = map(int, raw_input().split())
 if x <= y:
    print '%d %d' %(x,y)
 if y < x:
    print '%d %d' %(y,x)
 if x == y == 0:
    break

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
 x, y = map(int, raw_input().split())
 if x <= y:
    print '%d %d' %(x,y)
 if y < x:
    print '%d %d' %(y,x)
 if x == 0 and x == 0:
    break

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
 x, y = map(int, raw_input().split())
 if x <= y:
    print "%d %d" %(x,y)
 if y < x:
    print "%d %d" %(y,x)
 if x == 0 and x == 0:
    break

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
 x, y = map(int, raw_input().split())
 if x <= y:
    print "%d %d" %(x,y)
 if y < x:
    print "%d %d" %(y,x)
 if x == 0 and y == 0:
    break

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
 x, y = map(int, raw_input().split())
 if x <= y:
    print "%d %d" % (x,y)
 if y < x:
    print "%d %d" % (y,x)
 if x == 0 and y == 0:
    break

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
 x, y = map(int, raw_input().split())
 if x <= y:
    print "%d %d" % (x,y)
 elif y < x:
    print "%d %d" % (y,x)
 elif x == 0 and y == 0:
    break

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
    x, y = map(int, raw_input().split())
    if x <= y:
       print "%d %d" % (x,y)
    elif y < x:
       print "%d %d" % (y,x)
    elif x == 0 and y == 0:
       break

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
       break
    elif y < x:
       print "%d %d" % (y,x)
    else:
       print "%d %d" % (x,y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
       break
    elif y < x:
       print "%d %d" % (y,x)
    else:
       print "%d %d" % (x,y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif y < x:
      print "%d %d" % (y,x)
   else:
      print "%d %d" % (x,y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif y < x:
      print '%d %d' %(y,x)
   else:
      print '%d %d' %(x,y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif y < x:
      print y, x
   else:
      print x, y
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif y < x:
      print '%s %s' %(y, x)
   else:
      print '%s %s' %(x, y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   if y < x:
      print '%s %s' %(y, x)
   else:
      print '%s %s' %(x, y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
       break
    if y < x:
       print '%s %s' %(y, x)
    else:
       print '%s %s' %(x, y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
      break
    if y < x:
      print '%s %s' %(y, x)
    else:
      print '%s %s' %(x, y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    if y < x:
        print '%s %s' %(y, x)
    else:
        print '%s %s' %(x, y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    if y < x:
        print ' %s %s ' %(y, x)
    else:
        print ' %s %s ' %(x, y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    if y < x:
        print '%s %s' %(y,x)
    else:
        print '%s %s' %(x,y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    if y < x:
        print '%s %s' % (y,x)
    else:
        print '%s %s' % (x,y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
     x, y = map(int, raw_input().split())
     if x == 0 and y == 0:
         break
     if y < x:
         print '%s %s' % (y,x)
     else:
         print '%s %s' % (x,y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
     x, y = map(int, raw_input().split())
     if x == 0 and y == 0:
         break
     if x > y:
         print '%s %s' % (y,x)
     else:
         print '%s %s' % (x,y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
     x, y = map(int, raw_input().split())
     if x == 0 and y == 0:
         break
     if x > y:
         print "%s %s" % (y,x)
     else:
         print "%s %s" % (x,y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
     x, y = map(int, raw_input().split())
     if x == 0 and y == 0:
         break
     elif x > y:
         print "%s %s" % (y,x)
     else:
         print "%s %s" % (x,y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
     x, y = map(int, raw_input().split())
     if x == 0 and y == 0:
         break
     else:
         if x > y:
          print "%s %s" % (y,x)
         else:
          print "%s %s" % (x,y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
     x, y = map(int, raw_input().split())
     if x == 0 and y == 0:
         break
     else:
         if x > y:
          print '%s %s' % (y,x)
         else:
          print '%s %s' % (x,y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
     x, y = map(int, raw_input().split())
     if x == 0 and y == 0:
         break
     else:
         if x>y:
          print '%s %s' % (y,x)
         else:
          print '%s %s' % (x,y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while True:
     x, y = map(int, raw_input().split())
     if x == 0 and y == 0:
         break
     else:
         if x > y:
          print '%s %s' % (y,x)
         else:
          print '%s %s' % (x,y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
     x, y = map(int, raw_input().split())
     if x == 0 and y == 0:
         break
     else:
         if x > y:
           print '%s %s' % (y,x)
         else:
           print '%s %s' % (x,y)
    

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
 while 1:
     x, y = map(int, raw_input().split())
     if x == 0 and y == 0:
         break
     else:
         if x > y:
            print '%s %s' % (y,x)
         else:
            print '%s %s' % (x,y)
     

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Buggy python submission (verdict: Runtime Error):
while 1:
   x, y = map(int, raw_input().split())
     if x == 0 and y == 0:
         break
     else:
         if x > y:
            print '%s %s' % (y,x)
         else:
            print '%s %s' % (x,y)
     

Fixed submission:
while 1:
   x, y = map(int, raw_input().split())
   if x == 0 and y == 0:
      break
   elif x > y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)