# Kelvin Ly
# 10/16/12
# Sums the first N odd integers
def main():
n = int(input("Enter a positive integer.\n"))
sum = 0
for i in range(1,n+1):
sum = sum + 2*i+1 #The ith odd number.
#The other possible solutions are similar to the ones
#given on sumeven.py so I feel no need to repeat them.
print("The sum of the first ", n, " odd integers is ", sum, ".", sep="")
main()