a, b = map(str, input().split()) print(b + " " + a)