#include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long int ll; typedef pair P; //-------------- ///#define DEBUG //-------------- #ifdef DEBUG #define debugprint(x) cout<x+add.x; add.y=this->y+add.y; return add; } zahyo operator-(zahyo add){ add.x=this->x-add.x; add.y=this->y-add.y; return add; } zahyo operator*(int t){ zahyo temp; temp.x=this->x*t; temp.y=this->y*t; return temp; } zahyo operator%(int t){ zahyo temp(this->x%t,this->y%t); return temp; } zahyo operator/(int t){ zahyo temp(this->x/t,this->y/t); return temp; } bool operator==(const zahyo add) const{ if(add.x==this->x and add.y==this->y){return true;} else{return false;} } bool operator!=(const zahyo add) const{ if(add.x==this->x or add.y==this->y){return false;} else{return true;} } bool operator<(const zahyo add) const{ if(this->xx==add.x and this->y(const zahyo add) const{ if(this->x>add.x){return true;} else if(this->x==add.x and this->y>add.y){return true;} else{return false;} } void input(){ cin>>x>>y; } }; int a[1000000]; int b[1000000]; int c[1000000]; int main(){ int n;cin>>n; for(int i=0;i>a[i]; } for(int j=0;j>b[j]; c[j]=a[j] xor b[j]; } int ans=0; if(c[0]==1){ ans++; } for(int i=1;i