#include<cstdio>
int main()
{
	int n;
	std::scanf("%d",&n);
	std::printf("%d",n>=0?n:0);
	return 0;
}
#include <bits/stdc++.h>

#define ll long long
#define ii pair<ll, ll>
#define fi first
#define se second
#define vi vector<int>
#define vvi vector<vector<int>>
#define vvl vector<vector<ll>>
#define vl vector<ll>
#define mod 1000000007
#define inf 0x3f3f3f3f
#define For(i, n) for (int i = 0; i < n; i++)
using namespace std;
class A{
public:
    void solve(){
        int x;
        cin>>x;
        if(x>=0) cout<<x<<endl;
        else cout<<0<<endl;
    }
};
int main() {
    ios::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
    A ans;
    ans.solve();
    return 0;
}
