#include <iostream>
using namespace std;
int main()
{
long long n;
cin >> n;
n=n-0.2;
cout << n << endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkKewogIGxvbmcgbG9uZyBuOwogIGNpbiA+PiBuOwogIG49bi0wLjI7CiAgY291dCA8PCBuIDw8IGVuZGw7Cn0=