Problem:


Swapping Two Numbers

  Write a program which reads two integers x and y, and prints them in ascending order. 

Input

The input consists of multiple datasets. Each dataset consists of two integers x and y separated by a single space.

The input ends with two 0 (when both x and y are zero). Your program should not process for these terminal symbols.
  

Output

For each dataset, print x and y in ascending order in a line. Put a single space between x and y.

Constraints

  
 0 ≤ x, y ≤ 10000

  
 the number of datasets ≤ 3000

Sample Input

3 2
2 2
5 3
0 0

Sample Output

2 3
2 2
3 5



Sample input:
3 2
2 2
5 3
0 0


Sample output:
2 3
2 2
3 5

Submission status: Runtime Error

Solution code:
while True :
    (x, y) = int(i) for i in input().split()
    if x = 0 and y = 0 :
        break
    elif x >= y :
        print(x,y)
    else :
        print(y,x)

Submission status: Runtime Error

Solution code:
while True :
    (x, y) = int(i) for i in input().split().strip()
    if x = 0 and y = 0 :
        break
    elif x >= y :
        print(x,y)
    else :
        print(y,x)

Submission status: Runtime Error

Solution code:
while True :
    (x, y) = int(i) for i in input().split()
    if x = 0 y = 0 :
        break
    elif x >= y :
        print(x,y)
    else :
        print(y,x)

Submission status: Runtime Error

Solution code:
while True :
    (x, y) = int(i) for i in input().strip()
    if x = 0 and y = 0 :
        break
    elif x >= y :
        print(x,y)
    else :
        print(y,x)

Submission status: Runtime Error

Solution code:
while True :
    (x,y) = int(i) for i in input().split()
    if x = 0 and y = 0 :
        break
    elif x <= y:
        print(x,y)
    else :
        peint(y,x)

Submission status: Runtime Error

Solution code:
while True :
    (x,y) = int(i) for i in input().strip(split())
    if x = 0 and y = 0 :
        break
    elif x <= y:
        print(x,y)
    else :
        peint(y,x)

Submission status: Runtime Error

Solution code:
while True :
    (x,y) = int(i) for i in input().strip()
    if x = 0 and y = 0 :
        break
    elif x <= y:
        print(x,y)
    else :
        peint(y,x)

Submission status: Runtime Error

Solution code:
while True :
    (x,y) = int(i) for i in input().split()
    if 0 = x and 0 = y:
        break
    elif x <= y:
        print(x,y)
    else :
        peint(y,x)

Submission status: Runtime Error

Solution code:
while True :
    (x,y) = int(i) for i in input().split()
    if 0 = x and 0 = y:
        break
    else if x <= y:
        print(x,y)
    else :
        peint(y,x)

Submission status: Runtime Error

Solution code:
while True :
    (x,y) = int(i) for i in input().split()
    if 0 = x and 0 = y:
        break
    else if x <= y:
        print(x,y)
    else :
        print(y,x)

Submission status: Runtime Error

Solution code:
while True :
    (x,y) = int(i) for i in input().split()
    if 0 = x and 0 = y:
        break
    elif x <= y:
        print(x,y)
    else :
        print(y,x)

Submission status: Runtime Error

Solution code:
while True :
    (x,y) = int(i) for i in input().split()
    if y < x :
        print(y,x)
    elif x <= y :
        print(x,y)
    else :
        break

Submission status: Runtime Error

Solution code:
while True :
    num = input().strip()
    num = num.split()
    x = int(num[0])
    y = int(num[1])
    if y < x :
        print(y,x)
    elif x <= y :
        print(x,y)
    else :
        break

Submission status: Runtime Error

Solution code:
while True :
    (x,y) = [int(i) for i in input().split()]
    if 0 = x and 0 = y:
        break
    elif x <= y:
        print(x,y)
    else :
        print(y,x)

Submission status: Runtime Error

Solution code:
while True :
??????num = input().strip()
    num = num.sprit()
    x = int(num[0])
    y = int(num[1])
    if 0 = x and 0 = y:
        break
    elif x <= y:
        print(x,y)
    else :
        print(y,x)

Submission status: Runtime Error

Solution code:
(x, y) = (int(i) for i in input().split())
if x = 0 and y = 0:
    break
elif x <= y:
    print(x, y)
elif x >= y:
    print(y, x)

Submission status: Runtime Error

Solution code:
while True:
    (x, y) = (int(i) for i in input().split())
    if x = 0 and y = 0:
        break
    elif x <= y:
        print(x, y)
    elif x >= y:
        print(y, x)

Submission status: Runtime Error

Solution code:
while True:
    (x, y) = (int(i) for i in input().split())
    if x = 0 and y = 0:
        break
    elif x <= y:
        print(x, y)
    elif x > y:
        print(y, x)

Submission status: Runtime Error

Solution code:
while True:
    (x, y) = (int(i) for i in input().split())
    if x = 0 and y = 0:
        break
    elif x <= y:
        print(x, y)
    else:
        print(y, x)

Submission status: Runtime Error

Solution code:
list = []
while True:
  line = raw_input().split(" ")
  if line[0] == 0 and line[1] == 0:
    break
  line = map(int, line)
  #print line
  if line[0] > line[1]:
    temp = line[0]
    line[0] = line[1]
    line[1] = temp
  print " ".join(map(str, line))

Submission status: Runtime Error

Solution code:
while True:
	(x,y) = [int(i) for i in input().split()]
	print(x, y)

Submission status: Runtime Error

Solution code:
while True:
	(x,y) = [int(i) for i in input().split()]
print(x, y)

Submission status: Runtime Error

Solution code:
import sys
for line in sys.stdin:
????????xy = sorted(map(int , line.split()))
????????if xy[0] == 0 and xy[1] == 0: break
????????print(*xy)

Submission status: Runtime Error

Solution code:
int main(){
int a,b;
while(true){
scanf("%d %d",&a,&b);
if((a==0)&&(b==0))break;
if(a<=b) printf("%d %d\n",a,b);
if(a>b) printf("%d %d\n",b,a);
}
return 0;
}

Submission status: Runtime Error

Solution code:
(a, b, c) = [int(i) for i in input().split()]
cnt = 0
for i in range(a, b + 1):
    if (c % 1) == 0:
        cnt = cnt + 1
print(cnt)

Submission status: Runtime Error

Solution code:
(a, b, c) = [int(i) for i in input().split()]
cnt = 0
for i in range(a, b + 1):
    if (c % i) == 0:
        cnt = cnt + 1
print(cnt)

Submission status: Runtime Error

Solution code:
while True:
    (x, y) = [int(i) for i in sys.stdin.readline().split(' ')]
    if x == 0 and y == 0
        break     
    if x > y:
        z = x
        x = y
        y = z     
    print(x, y)

Submission status: Runtime Error

Solution code:
while True :
	x,y = map(int,raw_input.split())
	if x==0 and y==0 :
		break
	else :
		if a<b :
			print '%d %d' %(a,b)
		else :
			print '%d %d' %(b,a)

Submission status: Runtime Error

Solution code:
while True :
	x,y = map(int,raw_input.split())
	if x==0 and y==0 :
		break
	else :
		if x<y :
			print '%d %d' %(x,y)
		else :
			print '%d %d' %(y,x)

Submission status: Runtime Error

Solution code:

while True:
	x = raw_input().split(' ')

	if x[0] != '0' and x[1] != '0':
		temp = x[1]
		x[1] = x[0]
		x[0] = temp

	print `int(x[0])` + " " + `int(x[1])`

Submission status: Runtime Error

Solution code:
import sys

temp =  sys.stdin.read()

array = temp.split('\n')

for x in array:
	y = x.split(' ')
	temp = y[0]
	y[0] = y[1]
	y[1] = temp
	print `int(y[0])` +  " " + `int(y[1])`

Submission status: Runtime Error

Solution code:
import sys

temp =  sys.stdin.read()

array = temp.split('\n')

for x in array:
	y = x.split(' ')
	if int(y[0]) != 0 and int(y[1]) != 0:
		temp = y[0]
		y[0] = y[1]
		y[1] = temp
		print `int(y[0])` +  " " + `int(y[1])`

Submission status: Runtime Error

Solution code:
while 1:
 x,y=map(int,raw_input().split()).sort
 if y==0:break
 print x,y

Submission status: Runtime Error

Solution code:
while 1:
 x,y=map(int,raw_input().split()).sort()
 if y==0:break
 print x,y

Submission status: Runtime Error

Solution code:
while True:
	a, b = map(int, input().split())
	if a < b:
		print(a, b)
	elif b <= a:
		print(b, a)
	elif a == 0 and b ==0:
		break;

Submission status: Runtime Error

Solution code:
while True:
	a, b = map(int, input().split())
	if a < b:
		print(a, b)
	elif b <= a:
		print(b, a)
	elif a == 0 and b ==0:
		print(a, b)
		break;

Submission status: Runtime Error

Solution code:
import sys

for i,ws in enumerate(sys.stdin,1):
    list = map(int, ws[:-1].split())

    if list[0] == 0 and list[1] == 0:
        break

    print(' '.join(map(str,list.sort())))

Submission status: Runtime Error

Solution code:
import sys
 
ff = sys.stdin
 
while True :
    a, b = map(int, ff.readline().split())
    if (a == 0) & (b == 0) : break
    elif a < b :
		print(a, b)
    else :
		print(b, a)

Submission status: Runtime Error

Solution code:
import sys
 
ff = sys.stdin
 
while True :
    a, b = map(int, ff.readline().split())
    if (a == 0) & (b == 0) :
    break
    elif a < b :
        print(a, b)
    else :
        print(b, a)

Submission status: Runtime Error

Solution code:
n = 10
i = 1
while x != 0 and y != 0:
 n = map(int,raw_input(),split())
 x = n[0]
 y = n[1]
 if x == 0 and y == 0:
  break
 if x >= y:
  print y,x
 else
  print x,y
 i = i + 1

Submission status: Runtime Error

Solution code:
x = 1
y = 1

while x != 0 or y != 0:
 n = map(int,raw_input().split())
 x = n[0]
 y = n[1]
 if x == 0 and y == 0:
  break
 elif x <= y:
  print x,y
 elif x >  y:
  print y,x1

Submission status: Runtime Error

Solution code:
i = 1
while 1:
  x,y = map( int , raw_input().split() )
  if (x,y) == (0,0)
    break
  change = x
  x = y
  y = change
  print "%d %d" %(x,y)

Submission status: Runtime Error

Solution code:
i = 1
while 1:
  x,y = map( int , raw_input().split() )
  if x == 0 and y == 0
    break
  change = x
  x = y
  y = change
  print "%d %d" %(x,y)

Submission status: Runtime Error

Solution code:
while 1:
  x,y = map( int , raw_input().split() )
  if x == 0 and y == 0
    break
  change = x
  x = y
  y = change
  print "%d %d" %(x,y)

Submission status: Runtime Error

Solution code:
while 1:
  x,y = map( int , raw_input().split() )
  if x == 0 and y == 0
    break
  temp = x
  x = y
  y = temp
  print "%d %d" %(x,y)

Submission status: Runtime Error

Solution code:
while 1:
  x,y = map( int , raw_input().split() )
  if x == 0 and y == 0
    break
  elif x < y
    print "%d %d" %(x,y) 
  elif y < x  
    temp = x
    x = y
    y = temp
    print "%d %d" %(x,y)

Submission status: Runtime Error

Solution code:
while 1:
  x,y = map( int , raw_input().split() )
  if x == 0 and y == 0
    break
  elif x < y
    print "%d %d" %(x,y) 
  elif y < x  
    print "%d %d" %(y,x)

Submission status: Runtime Error

Solution code:
x, y = map(int, raw_input.split())



while True:
  if x < y:
     print 'x, y'
  if x > y :
     print 'y, x'
  if x == y == 0:
     break

Submission status: Runtime Error

Solution code:
x, y = map(int, raw_input.split())



while True:
  if x < y:
     print 'x y'
  if x > y :
     print 'y x'
  elif x == y:
     print 'x y'
  if x == y == 0:
     break

Submission status: Runtime Error

Solution code:
x, y = map(int, raw_input.split())



while True:
  if x < y:
     print 'x y'
  elif x > y :
     print 'y x'
  elif x == y:
     print 'x y'
  if x == y == 0:
     break

Submission status: Runtime Error

Solution code:



while True:
  x, y = map(int, raw_input.split())
  if x < y:
     print 'x y'
  elif x > y :
     print 'y x'
  elif x == y:
     print 'x y'
  if x == y == 0:
     break

Submission status: Runtime Error

Solution code:



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

Submission status: Runtime Error

Solution code:



while True:
  x, y = map(int, raw_input.split())
  if x == y == 0:
     break


  if x < y:
     print '%d %d' %(x, y)
  elif x > y :
     print '%d %d' %(y, x)
  elif x == y:
     print '%d %d' %(x, y)

Submission status: Runtime Error

Solution code:
while True
    a, b = map(int, raw_input().split())
    if a == 0 and b == 0:
        break
    if a < b:
        print '%s %s' % (b, a)
    else:
        print '%s %s' % (a, b)

Submission status: Runtime Error

Solution code:
i = 0
while 1:
   x,y = map(int, raw_input().split())
   i += 1
   if x == '0' and y == '0':
      break
   if x >= y:
      print '%s %s' % (y,x)
   else:
      print '%s %s' % (x,y)

Submission status: Runtime Error

Solution code:
i = 0
while 1:
   x,y = map(int, raw_input().split())
   i += 1
   if x == '0' and y == '0':
      break
   if x >= y:
      print '%s %s' % (y,x)
   if y >= x:
      print '%s %s' % (x,y)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
sum = 0
while 1:
   x, y =map(int, raw_input().split())
   sum = sum + 1
   if x == y == '0':
      break
   print sorted(x, y)

Submission status: Runtime Error

Solution code:
i = 0
while 1:
   x,y = map(int, raw_input().split())
   i += 1
   if x == '0' and y == '0':
      break
   else:
      if x >= y:
         print 'y x'
      else:
         print 'x y'

Submission status: Runtime Error

Solution code:
while 1:
   x,y = map(int, raw_input().split())
   if x == '0' and y == '0':
      break
   else:
      if x >= y:
         print 'y x'
      else:
         print 'x y'

Submission status: Runtime Error

Solution code:
while True:
   x,y = map(int, raw_input().split())
   if x == '0' and y == '0':
      break
   else:
      if x >= y:
         print 'y x'
      else:
         print 'x y'

Submission status: Runtime Error

Solution code:
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)

Submission status: Runtime Error

Solution code:
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)

Submission status: Runtime Error

Solution code:
while True
 x,y =map(int,raw_input().split())
 if(x==0 and y==0):
  Break
 elif(x>y)
  print x>y

Submission status: Runtime Error

Solution code:
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)

Submission status: Runtime Error

Solution code:
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)

Submission status: Runtime Error

Solution code:

   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

Submission status: Runtime Error

Solution code:
 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

Submission status: Runtime Error

Solution code:
 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

Submission status: Runtime Error

Solution code:
 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

Submission status: Runtime Error

Solution code:
 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

Submission status: Runtime Error

Solution code:
 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

Submission status: Runtime Error

Solution code:
 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

Submission status: Runtime Error

Solution code:
 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

Submission status: Runtime Error

Solution code:
 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

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
 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)

Submission status: Runtime Error

Solution code:
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)

Submission status: Runtime Error

Solution code:
x, y = input()

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

Submission status: Runtime Error

Solution code:
while 1:
   x, y = input()
   if x == y:
      break
   if x < y:
      print (x y)
   if x > y:
      print (y x)

Submission status: Runtime Error

Solution code:
while True:
  x, y = map(int, raw_input.split())
  if x == 0 and y == 0:
    break
  elif x < y:
    print "%d %d" %(x, y)
  else:
    print "%d %d" %(y, x)

Submission status: Runtime Error

Solution code:
while 1:
   x, y = input()
   if x == 0 and y == 0:
      break
   if x < y:
      print (x y)
   if x > y:
      print (y x)

Submission status: Runtime Error

Solution code:
while 1:
   x = input()
   y = input()
   if x == 0 and y == 0:
      break
   if x < y:
      print x y
   if x > y:
      print y x

Submission status: Runtime Error

Solution code:
while True:
 x,y =map(int,raw_input.split())
 if(x==y==0):
   break
 elif(x>y):
  print"%d > %d"%(x,y)
 elif(x<y):
  print"%d < %d"%(x,y)
 else:
  print"%d = %d"%(x,y)

Submission status: Runtime Error

Solution code:
while True:
 x,y =map(int,raw_input.split())
 if(x==y==0):
   break
 elif(x>y):
  print"%s %s"%(x,y)
 elif(x<=y):
  print"%s %s"%(y,x)

Submission status: Runtime Error

Solution code:
while True:
 x,y =map(int,raw_input.split())
 if(x==y==0):
   break
 elif(x>y):
  print x y  
 elif(x<=y):
  print y x

Submission status: Runtime Error

Solution code:
while True:
 x,y =map(int, raw_input().split())
 if(x==y==0):
   break
 elif(x>y):
  print x y  
 elif(x<=y):
  print y x

Submission status: Runtime Error

Solution code:
while (1):
  x,y = map(int, input()_split())
  if x == 0 and y ==0:
    break
  print "%d %d" %(min(x,y), max(x,y))

Submission status: Runtime Error

Solution code:
while True:
   x,y = map(int, input().split())
   if x == 0 and y == 0:
      break
   if x >= y:
      print '%s %s' % (y, x)
   else:
      print '%s %s' % (x, y)

Submission status: Runtime Error

Solution code:
while 1
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    print min(x, y) max(x, y)

Submission status: Runtime Error

Solution code:
while 1
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    print '%d %d' %(min(x, y), max(x, y))

Submission status: Runtime Error

Solution code:
while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    print min(x, y) max(x, y))

Submission status: Runtime Error

Solution code:
while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    print min(x, y) max(x, y)

Submission status: Runtime Error

Solution code:
while 1:
    x, y = map(int, raw_input().split())
    if x == 0 and y == 0:
        break
    print min(x, y), max(x, y))

Submission status: Runtime Error

Solution code:
while 1:
  if x == 0 and y == 0:
    break
  else:
    if x > y:
      temp = x
      x = y
      y = temp
  print '{0} {1}'.format(x, y)

Submission status: Runtime Error

Solution code:
while True:
  x = input()
  y = input()
  if x == 0 and y == 0:
    break
  elif x < y:  
      print "%d %d" % (x, y)
  elif x > y:  
      print "%d %d" % (y, x)

Submission status: Runtime Error

Solution code:
while True:
  x = input()
  y = input()
  print min(x,y), max(x,y)

Submission status: Runtime Error

Solution code:
while True:
  x = input()
  y = input()
  if x == y == 0:
    break
  print min(x,y), max(x,y)

Submission status: Runtime Error

Solution code:
while True:
  x,y = map(int,raw_input().split())
  y = input()
  if x == y == 0:
    break
  print min(x,y), max(x,y)

Submission status: Runtime Error

Solution code:
a,b=map(int,raw_input().split())

if a >= b:
  print 'a b'
else
  print 'b a'

Submission status: Runtime Error

Solution code:
while 1:
   x = int(raw_input())
   y = int(raw_input())
      if x == 0 and y == 0:
      break
   print '%s %s' %(x, y)

Submission status: Runtime Error

Solution code:
while 1:
   x, y = int(raw_input())
      if x == 0 and y == 0:
      break
   print '%s %s' %(x, y)

Submission status: Runtime Error

Solution code:
while 1:
   x,y = map(raw_input().split())
   if x == 0 and y == 0:
      break
   if y >= x:
      print '%s %s' % (x, y)
   else:
      print '%s %s' % (y, x)

Submission status: Runtime Error

Solution code:
while 1:
  x,y = map(int, input().split)
  if x == 0 and y == 0:
    break
  min = min(x,y)
  max = max(x,y)
  print x + y

Submission status: Runtime Error

Solution code:
while 1:
  x,y = map(int, input().split)
  if x == 0 and y == 0:
    break
  min = min(x,y)
  max = max(x,y)
  print "%d %d", (min,max)

Submission status: Runtime Error

Solution code:
while 1:
  x, y = map(int,raw_input().split)
  if x == 0 and y == 0:
    break
  min = min(x,y)
  max = max(x,y)
  print "%d %d", (min,max)

Submission status: Runtime Error

Solution code:
while 1:
  x, y = map(int,raw_input().split)
  if x == 0 and y == 0:
    break
  min = min(x,y)
  max = max(x,y)
  print "%d %d", %(min,max)

Submission status: Runtime Error

Solution code:
while True:
	x,y = map(int,raw_input().split())
	if x,y == 0,0:
		break
	elif x >= y:
		print x, y
	elif y >x:
		print y, x

Submission status: Runtime Error

Solution code:
while True:
	x,y = map(int,raw_input().split())
	if x,y == 0,0:
		break
	elif x >= y:
		print x,y
	elif y >x:
		print y,x

Submission status: Runtime Error

Solution code:
while True:
	x,y = sorted(map(raw_input().split()))
	if x==y==0:
		break
	print x,y

Submission status: Runtime Error

Solution code:

import sys 
while True:
	x,y = map(int,sys.stdin.inputline().split())
	if x==0 & y==0:
		break
	else:
		if x<=y:
			print(x,y)
		else:
			print(y,x)

Submission status: Runtime Error

Solution code:
While True:
 a=map(int,input().split())
 if a==[0,0]:
  break
 if a[0]>a[1]:print(str(a[1])+" "+str(a[0]))
 else: print(str(a[0])+" "+str(a[1]))

Submission status: Runtime Error

Solution code:
While True:
 a=map(int,raw_input().split())
 if a==[0,0]:
  break
 if a[0]>a[1]:print(str(a[1])+" "+str(a[0]))
 else: print(str(a[0])+" "+str(a[1]))

Submission status: Runtime Error

Solution code:
while True :                                                                                        
  4     a,b = map(int,raw_input().split())                                                              
  5                                                                                                     
  6     if a ==0 and b==0 :                                                                             
  7         break                                                                                       
  8     else:                                                                                           
  9         if a > b:                                                                                   
 10             print b,a                                                                               
 11         else:                                                                                       
 12             print a,b

Submission status: Runtime Error

Solution code:
x,y = map(int, input().split())
if x == 0 and y == 0:
    break
elif x => y:
    print (y,x)
else
    print (x,y)

Submission status: Runtime Error

Solution code:
while True:
    x,y = map(int, input().split())
    if x == 0 and y == 0:
        break
    elif x => y:
        print (y,x)
    else
        print (x,y)

Submission status: Runtime Error

Solution code:
while True:
    x,y = map(int, input().split())
    if x == 0 and y == 0:
        break
    elif x => y:
        print (y,x)
    else:
        print (x,y)

Submission status: Runtime Error

Solution code:
while True:
    (x,y) = map(int, input().split())
    if x == 0 and y == 0:
        break
    elif x => y:
        print (y,x)
    else:
        print (x,y)

Submission status: Runtime Error

Solution code:
while True:
    x,y = map(int, input().split(' '))
    if x == 0 and y == 0:
        break
    elif x => y:
        print (y,x)
    else:
        print (x,y)

Submission status: Runtime Error

Solution code:
while True:
    x,y = map(int, input().split())
    if x == 0 and y == 0:
        continue
    elif x => y:
        print (y,x)
    else:
        print (x,y)

Submission status: Runtime Error

Solution code:
while True:
    x,y = map(int, input().split())
    if x == 0 and y == 0:
        break
    if x => y:
        print (y,x)
    else:
        print (x,y)

Submission status: Runtime Error

Solution code:
while True:
    x,y = map(int, input().split())
    if x == 0 and y == 0:
        continue
    if x => y:
        print (y,x)
    else:
        print (x,y)

Submission status: Runtime Error

Solution code:
while True:
    x,y = map(int, input().split())
    if x == y == 0:
        continue
    if x => y:
        print (y,x)
    else:
        print (x,y)

Submission status: Runtime Error

Solution code:
while True:
    x,y = map(int, input().split())
    if x == 0 and y == 0:
        break;
    elif x => y:
        print (y,x)
    else:
        print (x,y)

Submission status: Runtime Error

Solution code:
while True:
    x,y = map(int, input().split())
    if x == 0 and y == 0:
        break;
    elif x => y:
        print (y,x)
    elif x < y
        print (y,x)

Submission status: Runtime Error

Solution code:
while True:
    x,y = map(int, input().split())
    if x == 0 and y == 0:
        break;
    elif x <= y:
        print (x,y)
    else x > y
        print (y,x)

Submission status: Runtime Error

Solution code:
while True:
    x,y = map(int, input().split())
    if x == 0 and y == 0:
        break
    elif x <= y:
        print (x,y)
    else x > y
        print (y,x)

Submission status: Runtime Error

Solution code:
while True:
    x,y = map(int, input().split())
    if x == 0 and y == 0 :
        break
    elif x <= y :
        print (x,y)
    else x > y :
        print (y,x)

Submission status: Runtime Error

Solution code:
while 1:
    a,b=map(int,input().split())
    if(a==0 and b==0): break
    print(sorted[a,b])