#include using namespace std; int main(){ long long n,k; cin>>n>>k; if(n=0;i--){ for(int j=0;j<=k;j++){ if( i-j>=0 && (i&(i-j))==n){ ans++; cerr<