print("\n".join(reversed([str(6-i)*(6-i) for i in range(1,6)])))
Standard input is empty
1 22 333 4444 55555
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!