# No.543 命題 a, b = input().split() print(b + ' ' + a)