#include using namespace std; typedef long long ll; typedef pair P; #define REP(i,n) for(ll i=0;i> A >> B; vector a(8,0),b(8,0); for(j=0;j<8;j++){ if(A&(1LL<