for x in range(0,21):
	y=x**2-3*x
	print(y)