Print i*i for i in range(18), one per line.
for + multiply
0 1 4 9 16 25 36 49 64 81 100 121 144 169 196 225 256 289
n = 18