#include using namespace std; int main() { int n; cin >> n; int t = n / 200 * 25; cout << n - t << endl; return 0; }