#include using namespace std; using ll=long long; ll mod=1000000007; ll INF=1LL<<60; int main() { string S; cin >> S; if(S[0]=='-' || S.size()<=2){ cout << 0 << endl; return 0; } cout << S.substr(0,S.size()-2) << endl; }