#define debug(x) cerr << #x << " = " << x << ' ' #define debugl(x) cerr << #x << " = " << x << '\n'
int test(int x, int y) { return x >> y & 1; } void printb(int x) { cout << bitset<4>(x); }