num=input().split()
string=""
num1=int(num[0])
num2=int(num[1])
num1,num2=num2,num1
string=str(num1)+" "+str(num2)
print(string)

3e22358fdbbaa6db3f729e869e27c3645abaefce
<mask token>

<mask token>
print(string)

num = input().split()
string = ''
num1 = int(num[0])
num2 = int(num[1])
num1, num2 = num2, num1
string = str(num1) + ' ' + str(num2)
print(string)

num=input().split()
string=""
num1=int(num[0])
num2=int(num[1])
num1,num2=num2,num1
string=str(num1)+" "+str(num2)
print(string)
