#include <bits/stdc++.h>
using namespace std;
#define tani_nachi_ke  ios_base::sync_with_stdio(false); cin.tie(NULL);
#define M_PI 3.14159265358979323846
#define data data_
#define ff first
#define ss second
#define pb push_back
#define int long long

int32_t main()
{

    tani_nachi_ke  

    
    int x;
    cin >> x;
    if(x >= 0)
        cout << x << endl;
    else
        cout << 0 << endl;




return 0;
}
          
#include <bits/stdc++.h>
int main(){
    int x;
    std::cin >>x;
    std::cout << std::max({x,0}) << std::endl;
}