#include #define int long long using namespace std; using Graph = vector>; signed main(){ int A; cin >> A; cout << A-1 << endl; }