#include <iostream>
using namespace std;
const int ONE_HUNDRED = 100;
const int ONE = 1, FIVE = 5;
int main() {
int n;
cin >> n;
if (n % ONE_HUNDRED >= ONE || n % ONE_HUNDRED <= FIVE) {
cout << (n / ONE_HUNDRED) * ONE_HUNDRED;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKY29uc3QgaW50IE9ORV9IVU5EUkVEID0gMTAwOwpjb25zdCBpbnQgT05FID0gMSwgRklWRSA9IDU7CgppbnQgbWFpbigpIHsKCWludCBuOwoJY2luID4+IG47CglpZiAobiAlIE9ORV9IVU5EUkVEID49IE9ORSB8fCBuICUgT05FX0hVTkRSRUQgPD0gRklWRSkgewoJCWNvdXQgPDwgKG4gLyBPTkVfSFVORFJFRCkgKiBPTkVfSFVORFJFRDsKCX0KCXJldHVybiAwOwp9