repeat input""x z=int((x/21.335-2)/1.4142+2) print int(z*(z+1)*(2*z+1)/6)until(x=2488)