func:swap(p,q){let:t;t=*p;*p=*q;*q=t;}func:qsort(begin,end){if(end-begin<=1){return;}let:pv(begin),it(begin+1);while(it*it){swap(pv+1,it);swap(pv,pv+1);pv+=1;}it+=1;}qsort(begin,pv);qsort(pv+1,end);}func:pow(x,p){if(p<=0){return:1;}else{return:x*pow(x,p-1);}}func:main(){let:n,m,x(1);let:stk[199],cnt(0);m=n=__geti();while(m>=1){x*=10;m-=1;}let:i(0),j(0);while(i<=n){j=0;while(j<=n){stk[cnt]=pow(2,i)*pow(5,j);cnt+=1;j+=1;}i+=1;}stk[cnt]=0;qsort(&stk,&stk+cnt);i=0;while(i