# Arup Guha
# 10/7/2020
# Solution to Midterm Exam Part B Problem 1: Candy Machine

# Get input.
numDays = int(input("How many days to run the candy machine?\n"))

# Chart header
print("Day\tTotal Candy")

# Days start at 1 go to numDays, and the answer is always the day squared!
for day in range(1, numDays+1):
    print(day, day*day, sep = "\t")
