#include #include main(){ int index1,index2; int number=1; int ans=0; long long cmp[2]; char buf[100]; fgets(buf,sizeof(buf),stdin); sscanf(buf,"%d %d",&index1,&index2); cmp[0]=pow(2,index1); cmp[1]=number*pow(2,index2); while(cmp[1]<=cmp[0]){ number++; ans++; } printf("%x\n",ans); return(0); }