#include #include using namespace std; int main() { int N; string S[10], T[10]; int nod; for (nod = 0; nod < N; nod++) { if (S[nod] == T[nod]) { nod++; break; } } cout << nod << endl; cout << S[nod] << endl; cout << T[nod] << endl; }