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