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