#include<bits/stdc++.h>
using namespace std;
#define ff first
#define ss second
#define int ll
#define pb push_back
#define setbits(x)          __builtin_popcountll(x)
#define endl "\n"
typedef long long ll;

#define MX 200002
int dp[MX];
void solve()
{
int n;
cin>>n;
if(n<0)
    cout<<0<<endl;
else
    cout<<n<<endl;

}
int32_t main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t=1;
while(t--)
{
solve();
}
    return 0;
}

#include<bits/stdc++.h>
using namespace std;
int main(){
int x;
  cin>>x;
  cout<<max(0,x);
return 0;}