#include<bits/stdc++.h>
using namespace std;
int main(){
int n,h;
cin>>n;
if (n<=100){
h=n*2;
cout<<h<<endl;
}
else{
h=100*2+(n-100)*1;
cout<<h<<endl;
}
return 0;
}
/**************************************************************
Problem: 1637
User: xiaojingxuan
Language: C++
Result: Accepted
Time:15 ms
Memory:2072 kb
****************************************************************/