print(input()) x, y, z = [int(x) for x in input().split()]for i in range(1, 5): print("{0} {1} {2} {3}".format(i, i**x, i**y, i**z))
Hello, I'm a compiler 2 3 5
Hello, I'm a compiler 1 1 1 1 2 4 8 32 3 9 27 243 4 16 64 1024
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!