// Copyright 2020 Tsutomu ISHIKAWA
// Author: Tsutomu ISHIKAWA

#include <iostream>
#include <climits>
#include <algorithm>
#include <cmath>
#include<string>
using namespace std;


// DPテーブル
int x;

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

#include<bits/stdc++.h>
//#include<atcoder/all>
using namespace std;
using ll = long long;

int main()
{
	int n;cin >> n;
	n = max(n,0);
	cout<< n<< endl;
}
