import java.io.BufferedReader;
import java.io.InputStreamReader;
class Main
{
{
String s
= bufferedReader.
readLine().
split(" ")[0]; if (s.substring(s.length() - 2, s.length() - 2 + 2).equals("00"))
{
System.
out.
print(s.
substring(0, s.
length() - 2)); }
else
{
for (int i = s.length() - 3; i >= 0; --i)
{
if ((int)s.charAt(i) - 48 + 1 == 10)
{
s = s.substring(0, i) + "0" + s.substring(i + 1);
//s.charAt(i) = '0';
if (i == 0)
{
}
continue;
}
else
{
s = s.substring(0, i) + (char)(s.charAt(i) + 1) + s.substring(i + 1);
//s.charAt(i)++;
break;
}
}
System.
out.
print(s.
substring(0, s.
length() - 2)); }
return;
}
}
aW1wb3J0IGphdmEuaW8uQnVmZmVyZWRSZWFkZXI7CmltcG9ydCBqYXZhLmlvLklucHV0U3RyZWFtUmVhZGVyOwoKY2xhc3MgTWFpbgp7CiAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCiAgewogICAgQnVmZmVyZWRSZWFkZXIgYnVmZmVyZWRSZWFkZXIgPSBuZXcgQnVmZmVyZWRSZWFkZXIobmV3IElucHV0U3RyZWFtUmVhZGVyKFN5c3RlbS5pbikpOwogICAgU3RyaW5nIHMgPSBidWZmZXJlZFJlYWRlci5yZWFkTGluZSgpLnNwbGl0KCIgIilbMF07CiAgICBpZiAocy5zdWJzdHJpbmcocy5sZW5ndGgoKSAtIDIsIHMubGVuZ3RoKCkgLSAyICsgMikuZXF1YWxzKCIwMCIpKQogICAgewogICAgICBTeXN0ZW0ub3V0LnByaW50KHMuc3Vic3RyaW5nKDAsIHMubGVuZ3RoKCkgLSAyKSk7CiAgICB9CiAgICBlbHNlCiAgICB7CiAgICAgIGZvciAoaW50IGkgPSBzLmxlbmd0aCgpIC0gMzsgaSA+PSAwOyAtLWkpCiAgICAgIHsKICAgICAgICBpZiAoKGludClzLmNoYXJBdChpKSAtIDQ4ICsgMSA9PSAxMCkKICAgICAgICB7CiAgICAgICAgICBzID0gcy5zdWJzdHJpbmcoMCwgaSkgKyAiMCIgKyBzLnN1YnN0cmluZyhpICsgMSk7CiAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4ocyk7CiAgICAgICAgICAvL3MuY2hhckF0KGkpID0gJzAnOwogICAgICAgICAgaWYgKGkgPT0gMCkKICAgICAgICAgIHsKICAgICAgICAgICAgU3lzdGVtLm91dC5wcmludCgiMSIpOwogICAgICAgICAgfQogICAgICAgICAgY29udGludWU7CiAgICAgICAgfQogICAgICAgIGVsc2UKICAgICAgICB7CiAgICAgICAgCXMgPSBzLnN1YnN0cmluZygwLCBpKSArIChjaGFyKShzLmNoYXJBdChpKSArIDEpICsgcy5zdWJzdHJpbmcoaSArIDEpOwogICAgICAgICAgLy9zLmNoYXJBdChpKSsrOwogICAgICAgICAgYnJlYWs7CiAgICAgICAgfQogICAgICB9CiAgICAgIFN5c3RlbS5vdXQucHJpbnQocy5zdWJzdHJpbmcoMCwgcy5sZW5ndGgoKSAtIDIpKTsKICAgIH0KICAgIHJldHVybjsKICB9Cn0=