#include #include #include using namespace std; int main() { int n; cin >> n; vector s(n), t(n); for (auto &x : s) cin >> x; for (auto &x : t) cin >> x; for (int i = 0; i < n; ++i) if (s[i] != t[i]) cout << i + 1 << endl << s[i] << endl << t[i] << endl; }