import sys L=list(sys.stdin) print L.pop()+"".join(L)