#include #include #define MAX 50000 using namespace std; string S[MAX]; int Result(string A[], int n) { for(int i=0;iA[k]) { return i; } } } } int main() { ifstream in; ofstream out; in.open("phonebook.in"); out.open("phonebook.out"); int n; in>>n; for(int i=0;i>S[i]; int result = Result(S,n); out<