#include using namespace std; typedef long long int ll; bool comp(string s,string t){ if(s.size()>t.size())return true; if(s.size()t[i]; } return true; } int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); string s,t; cin >> s >> t; if(comp(s,t))cout << s << endl; else cout << t << endl; }