a=input() b=a.split() b.reverse() print(b)