
#include <bits/stdc++.h>
using namespace std;

#define int long long 

signed main() {
    ios_base::sync_with_stdio(0);
    cin.tie(0); 

    int n=1; cin >> n ; 
    int ans = 0 ; 
    if (n%100) {
        ans++ ; 
        n -= n%100 ; 
    }
    n /= 100 ; 
    ans += n%10 ; 
    n /= 10 ; 
    ans += n*10 ; 
    cout << ans << endl ; 
    return 0;
}


#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef vector<int> vi;
typedef vector<char> vc;
typedef vector<bool> vb;
typedef vector<double> vd;
typedef vector<string> vs;
typedef vector<ll> vll;
typedef vector<pair<int,int> > vpii;
typedef vector<vector<int> > vvi;
typedef vector<vector<char> > vvc;
typedef vector<vector<bool> > vvb;
typedef vector<vector<string> > vvs;
typedef vector<vector<ll> > vvll;
#define Rep(i,n) for(ll i=0;i<ll(n);i++)
#define Repd(i,n) for(ll i=n-1;i>=0;i--)
#define For(i,a,b) for(ll i=a;i<=ll(b);i++)
#define Ford(i,a,b) for(ll i=a;i>=ll(b);i--)
#define Fora(i,I) for(const auto& i:I)
#define ALL(a) a.begin(),a.end()
#define RALL(a) a.rbegin(),a.rend()
#define pb push_back
const int INF = 1<<30;
const ll MOD = 1000000007;
const ll val = 0;
ll myceil(ll a,ll b){return (a+(b-1))/b;}
ll myfloor(ll a,ll b){return a/b;}



int main(void) {
	ll n;
	cin>>n;
	cout<<myceil(n , 100)<<endl;
}