#include #include #include #include #include using namespace std; int main(void) { int n; cin >> n; vector > str(n); for (int i = 0; i < n; i++) { cin >> str[i].first; } for (int i = 0; i < n; i++) { cin >> str[i].second; if (str[i].first != str[i].second) cout << i + 1 << endl << str[i].first << endl << str[i].second << endl; } return 0; }