#include int main() { using namespace std; int n; cin >> n; cout << n - 1 << endl; }