#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define rep(i, n) for(int i = 0; i < n; i++) #define per(i, n) for(int i = n - 1; i >= 0; i--) using ll = long long; using ld = long double; #define vi vector #define vvi vector #define vl vector #define pii pair #define pll pair #define all(a) (a).begin(), (a).end() #define mod 1000000007 using namespace std; int main(){ string s; cin >> s; if(s[0] == '-' || (int)s.size() <= 2) cout << "0\n"; else cout << s.substr(0, s.size() - 2) << "\n"; }