# =====================================================================
# Author:       James Walker (GothicAnatomist)
# Create date:  06/07/2021
# Site:         HackerRank
# URL:          https://www.hackerrank.com/challenges/python-loops/problem
# Description:  Solution to "Loops"
# Licence:      CC BY 4.0
# =====================================================================

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