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