#31440: python 一行解


dfd8282@gmail.com (fishhh)


print(" ".join(f"{input()} {input()}".split(" ")[::-1][:-1]))