'''
#for loop:
for i in range(0,5):
    print i 	#Here, the term range(0,5) returns a list of integers from 0 to 5: [0,1,2,3,4]


#while loop:
i = 0
while i < 5:
    print i
    i+=1
'''


a=int(raw_input())
for i in range(0,a):
	print pow(i,2)

# Input (stdin)
# 5
# Your Output (stdout)
# 0
# 1
# 4
# 9
# 16