#include #include int main(void){ int i=0; int n=0; scanf("%d%d",&i,&n); double joken1 = pow(2.0,(double)i); int m=0; int N2 = (int)joken1; double joken2 = pow(2.0,(double)n); int K2 = (int)joken2; int num=0; for(m=1;m<=N2;m++){ if(m%K2==0){ num++; } } printf("%d",num); }