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

int main() {
  int x;
  cin >> x;
  if(x < 0) cout << "0" << endl;
  else cout << x << endl;
    }