'''
Title     : Loops
Subdomain : Introduction
Domain    : Python
Author    : Kalpak Seal
Created   : 28 September 2016
'''
#  Enter your code here. Read input from STDIN. Print output to STDOUT
n = int(raw_input())

for i in range(0, n):
    print (i ** 2)