# Language: Python 3

n = int(input())
for i in range(n, 0, -1):
    result = ((n-i)**2)
    print(result)

# Language: Python 3

n = int(input())
for i in range(n, 0, -1):
    result = ((n-i)**2)
    print(result)

# Language: Python 3