while n=input(0)printf("%d\n",sumsq(1:n/30.17+.58))end