#include using namespace std; using ld = long double; int main() { int N; cin>>N; vector A(N+2,0); for(int i=0;i<2;i++)for(int j=1;j<=N;j++){ int p; cin>>p; A[j]=A[j]^p; } int an=0; for(int j=0;j<=N;j++)an+=(A[j]^A[j+1]); cout<