S = input().split() print(S[1],S[0])