#include using namespace std; using ll=long long; void run(){ ll x,y;scanf("%lld%lld",&x,&y); while((x>>y)&1)y++; printf("%lld\n",(1LL<