x=0
i=1
while i<13:
	j=3
	while j<30:
		x=x+i*j
		j=j+4
	i=i+1
print(x)