#define A i = 0; i < n; i++ #include #include int main(void) { int n, i; char s[10][21], t[10][21]; scanf("%d", &n); for (A) scanf("%s", s[i]); for (A) scanf("%s", t[i]); for (A) { if (strcmp(s[i], t[i])) { printf("%d\n%s\n%s", i + 1, s[i], t[i]); break; } } return 0; }