/** * author: shu8Cream * created: 05.03.2021 21:19:41 **/ #include using namespace std; #define rep(i,n) for (int i=0; i<(n); i++) #define all(x) (x).begin(), (x).end() using ll = long long; using P = pair; using vi = vector; using vvi = vector; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); string n; cin >> n; if(n[0]=='-'){ cout << 0 << endl; return 0; }else{ if(n.size()<3) cout << 0 << endl; else{ n.pop_back(); n.pop_back(); cout << n << endl; } } }