long n,i,j,k,h,c;s[6<<25];main(){for(scanf("%ld",&n);i*i++