#include #include #include #include using namespace std; int main() { int N; cin >> N; vectors(N), t(N); for (int i = 0; i < N; i++) { cin >> s[i]; } for (int i = 0; i < N; i++) { cin >> t[i]; } for (int i = 0; i < N; i++) { if (s[i] != t[i]) { cout << i + 1 << endl; cout << s[i] << endl; cout << t[i] << endl; } } return 0; }