//if then
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
if(n>0){
cout<<n;
}
}
Ly9pZiB0aGVuCiNpbmNsdWRlPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpewogICAgaW50IG47CiAgICBjaW4+Pm47CiAgICBpZihuPjApewogICAgICAgIGNvdXQ8PG47CiAgICB9Cn0=