#include <bits/stdc++.h>          
using namespace std;
using ll = long long;
using ld = long double;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define repp(i, st, en) for (ll i = (ll)st; i < (ll)(en); i++)
#define repm(i, st, en) for (ll i = (ll)st; i >= (ll)(en); i--)
#define all(v) v.begin(), v.end()

int main() {
    int x; cin >> x;
    if (x<0) cout << 0 << endl;
    else cout << x << endl;
}
#include<bits/stdc++.h>
#include<stdio.h>
#define int long long
#define pb push_back
#define fo(i,a,n) for(int i=a;i<n;i++)
#define foo(i,a,n) for(int i=a;i>=n;i--)
#define sn s.length()
#define get(n) cin>>n
    
#define put(n) cout<<n
    
using namespace std;
 

signed main()
{
    int t=1;
    
    //cin>>t;
    
    while(t--)
    {
      int n,p=0;
      cin>>n;
      cout<<max(p,n);
        
    }
}