#include #define rep(i, n) for (int i = 0; i < n; ++i) typedef long long ll; using namespace std; int main() { string S; cin >> S; if (S[0] == '-') { cout << 0 << endl; } else if (S.size() <= 2) { cout << 0 << endl; } else { rep(i, S.size() - 2) cout << S[i]; cout << endl; } return 0; }