#include <iostream>
using namespace std;

typedef long long ll;

int main () {
	int x;
	cin >> x;
	cout << ((x>0)?x:0) << endl;
	return 0;
}
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
#include <vector>
#include <set>

using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)

int main(){
    int x;
    cin >> x;

    if(x >= 0)cout << x << "\n";
    else cout << 0 << "\n";
}
