#include #include int main() { using namespace std; int n; string s[10], t[10]; cin >> 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; } } }