a = [] a = input().split() print(a[1] + " " + a[0])