a, b = map(str, input().split()) print(' '.join([b, a]))