#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x>=100) { cout<<2*x+(x-100); } else { cout<<2*x; } }