#define _GLIBCXX_DEBUG #include using namespace std; int main() { int N; cin >> N; vector S(N+1), T(N+1); for(int i = 1; i <= N; i++) cin >> S[i]; for(int i = 1; i <= N; i++) cin >> T[i]; for(int i = 1; i <= N; i++){ if(S[i] != T[i]){ cout << i << endl << S[i] << endl << T[i] << endl; } } }