#include <iostream>
#include <iosfwd>
#include <iomanip>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <ctime>
#include <cmath>
#include <cassert>
#include <cctype>
#include <climits>
#include <vector>
#include <bitset>
#include <set>
#include <queue>
#include <math.h>
#include <stack>
#include <map>
#include <deque>
#include <string>
#include <list>
#include <iterator>
#include <sstream>
#include <complex>
#include <fstream>
#include <functional>
#include <numeric>
#include <utility>
#include <algorithm>
#include <assert.h>
#include <unordered_map>
#pragma GCC optimize ("-O3")
 
using namespace std;
 
#define watch(x) cout << (#x) << " = " << (x) << endl
#define PI double(2 * acos(0.0))
#define ll long long
#define MOD 1000000007
#define all(x) (x).begin(), (x).end()
#define INF 1e15


int main()  {
        ios_base::sync_with_stdio(0);
        cin.tie(0);cout.tie(0);
        int x;
        cin>>x;
        cout<<max(x,0);
        
        }

        
#include <iostream>
using namespace std;

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