import math
n=0
	for x in range (31):
n=x*(x-1)
print(n)

