a,b=map(int,input().split()) print(b,a)
------Input------ 10 27 ------Answer----- 10 27 ------Your output----- 27 10