a, b = input().split() taiguu = a ura = b print(ura, taiguu)