A, B = map(str, input().split()) print(B, A)