#include <iostream>
using namespace std;
int main() {
int n,a,b;
cin >> n;
a=(n/100);
b=(n%10);
cout << (a==b ? (char)(61) : (a>b ? (char)(48+a) : (char)(48+b)));
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgbixhLGI7CiAgICBjaW4gPj4gbjsKICAgIGE9KG4vMTAwKTsKICAgIGI9KG4lMTApOwogICAgY291dCA8PCAoYT09YiA/IChjaGFyKSg2MSkgOiAoYT5iID8gKGNoYXIpKDQ4K2EpIDogKGNoYXIpKDQ4K2IpKSk7CglyZXR1cm4gMDsKfQ==