#include <bits/stdc++.h>
using namespace std;
#define Laylo cin.tie(0), cout.tie(0), cin.sync_with_stdio(0), cout.sync_with_stdio(0);
#define lli long long int
#define ll long long
int main() {
    Laylo
    int x;
    cin >> x;
    cout << ((x < 0) ? 0 : x) << endl;
}

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int s;
	cin>>s;
	if(s%100==0)
	{
		if(s<=10) cout<<0; 
		else if(s<=100) cout<<s/10;
		else if(s<=3000) cout<<s/100;
	}
	else 
	{
		if(s<=10) cout<<1; 
		else if(s<=100) cout<<s/10+1;
		else if(s<=3000) cout<<s/100+1;
	}
	return 0; 
} 