import sys input=lambda: sys.stdin.readline().rstrip() a,b=map(str,input().split()) print(b,a)