#include <map>
#include <set>
#include <cmath>
#include <ctime>
#include <deque>
#include <queue>
#include <stack>
#include <cctype>
#include <cstdio>
#include <string>
#include <vector>
#include <climits>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iomanip>
#include <numeric>
#include <sstream>
#include <utility>
#include <iostream>
#include <algorithm>
 
#define MAXN 100005
#define MOD 1000000007
 
using namespace std;
 
typedef long long int ll;
typedef pair<int, int> par;
#define mp make_pair

// variables

// functions

// main function
void solve(){
    int x;
    cin >> x;
    cout << (x >= 0 ? x : 0) << endl;
}
 
int main(int argc, const char * argv[]) {
    ios_base::sync_with_stdio(0);
    cin.tie(0);

    //freopen("in.txt","r",stdin);

    ll t;
    //cin >> t;
    t = 1;
    while(t--){
        solve();
    }
    
    //cout << setprecision(10) << sol << endl;
 
    return 0;
};
#include<bits/stdc++.h>

int main(){
    using namespace std;
    long x;
    cin >> x;
    cout << max(x, 0L) << endl;
    return 0;
}
