#include #include using namespace std; int main() { string nA, nB, pA, pB, xA, xB; cin >> nA >> pA >> xA >> nB >> pB >> xB; if (pA.size()>pB.size()) { cout << nA << endl; } else if (pA.size()pB) { cout << nA << endl; } else if (pA