#include <iostream>
using namespace std;
long f91(long n) {
if(n <= 100){
return 91;
}
else {
return n - 10;
}
}
int main() {
long n;
cin >> n;
cout << f91(n);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwpsb25nIGY5MShsb25nIG4pIHsKICBpZihuIDw9IDEwMCl7CiAgICByZXR1cm4gOTE7CiAgfQogIGVsc2UgewogICAgcmV0dXJuIG4gLSAxMDsKICB9Cn0KaW50IG1haW4oKSB7CiAgbG9uZyBuOwogIGNpbiA+PiBuOwogIGNvdXQgPDwgZjkxKG4pOwogIHJldHVybiAwOwp9