char d[5001]; int main(){ long n,t,c; scanf("%ld%ld%ld",&n,&t,&c); for(long i=0;i=0;--j){ if(d[j]