#!/usr/bin/env python3
# https://www.hackerrank.com/challenges/python-loops/

if __name__ == '__main__':
    n = int(input())
    for i in range(0,n):
        print(i**2)

#!/usr/bin/env python3
# https://www.hackerrank.com/challenges/python-loops/

if __name__ == '__main__':
    n = int(input())
    for i in range(0,n):
        print(i**2)

#!/usr/bin/env python3 # https://www.hackerrank.com/challenges/python-loops/