#include using namespace std; string s; int main() { cin >> s; if (s[0] == '-' || s.size() < 3) cout << 0 << endl; else cout << s.substr(0, s.size() - 2) << endl; }