use strict;
my @foo = <STDIN>;
print reverse @foo;

exit(0);
