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