#Matthew Beer
#22/10/14
#Development exercise 1

n = int(input("Please input a number: "))
for count in range(n):
    total = n * (n-1)
print("The product of the integers is {0}.".format(total))

    
