#include #include int main() { int N; std::cin >> N; std::string* S = new std::string[N]; std::string* T = new std::string[N]; for (int i = 0; i < N; i++) { std::cin >> S[i]; } for (int i = 0; i < N; i++) { std::cin >> T[i]; } for (int i = 0; i < N; i++) { if (S[i] != T[i]) { std::cout << i+1 << std::endl; std::cout << S[i] << std::endl; std::cout << T[i] << std::endl; } } return 0; }