#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]; } string test; for(int i = 0;i < n;i++){ cin >> test; if(test != s[i]) cout << i + 1 << "\n" << s[i] << "\n" << test; } return 0; }