#include<bits/stdc++.h>
using namespace std;

int main()
{
	int x;
	cin >> x;
	if(x >= 0) cout << x << endl;
	else cout << "0" << endl;
	return 0;
} 
#include "bits/stdc++.h"
#include <ext/pb_ds/assoc_container.hpp>
//#include <boost/multiprecision/cpp_int.hpp>

using namespace std;
using namespace __gnu_pbds;
//using namespace boost::multiprecision;

typedef tree<int, null_type, less_equal<int>, rb_tree_tag, tree_order_statistics_node_update> indexed_set;
typedef long long ll;
typedef vector<ll> VI;
typedef vector<vector<ll>> VVI;
typedef pair<ll, ll> PII;
typedef vector<PII> VPII;
typedef set<ll> SI;
typedef map<string, ll> MSI;
typedef map<ll, ll> MII;
typedef pair<ll, PII> PIII;

#define flash ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL)
#define MP make_pair
#define PB push_back
#define FF first
#define SS second
#define MOD 1000000007
#define test ll t;cin>>t;while(t--)
#define REP(i,a,b) for (int i = a; i <= b; i++)

void solve()
{
    ll x;
    cin >> x;
    if(x<0)
    cout  << 0 << "\n";
    else cout << x << "\n";
    return;
}

int main()
{
    flash;

    // test
    // {
    //     solve();
    // }
    solve();

    return 0;
}
