The input contains two integers *a*<sub class="lower-index">1</sub>, *a*<sub class="lower-index">2</sub> (0 ≤ *a*<sub class="lower-index">*i*</sub> ≤ 32), separated by a single space.
#include<bits/stdc++.h>
using namespace std;
int main () {
    int a,b;
    cin>>a>>b;
    if(((a>>3)&1)&&((b>>3)&1)) cout<<1;
    else cout<<0;
   // cout<<((10>>3)&1);



return 0;
}
