indat = input().split() indat.reverse() print(' '.join(indat))