#include <iostream>
#include <algorithm>

using namespace std;

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

#include <bits/stdc++.h>
#define M 1000000007
#define ll long long
#define ld long double
#define P pair<int, int>
#define PL pair<ll, ll>
#define F first
#define S second
#define vc vector<int>
#define vcl vector<ll>
#define vcb vector<bool>
#define vt vector
#define pb push_back
#define ha cout << "YES";
#define na cout << "NO";
#define el endl
#define filler(arr, n)          \
    for (int i = 0; i < n; i++) \
        cin >> arr[i];

/* 
    generated by 
    jaindipankar284
*/
using namespace std;
void solve();

int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    // int T;
    // cin >> T;
    // while (T--)
    solve();
    return 0;
}
class Helper
{
public:
    ll s;
    ll idx;
    Helper(ll s, ll idx)
    {
        this->s = s;
        this->idx = idx;
    }
};
void solve()
{
    int x;
    cin >> x;
    cout << (x >= 0 ? x : 0);
}
