#!perl
print "Enter some lines, then press Ctrl-D:/n";
@lines = <STDIN>;
print reverse <STDIN>;