#include using namespace std; int main() { //long long a, b; string a, b; cin >> a >> b; string ans; if(a.size() > b.size()) ans = a; else if(a.size() < b.size()) ans = b; else{ for(int i=0;i b[i]) ans = a; else if(a[i] < b[i]) ans = b; break; } } cout << ans << endl; }