#define _USE_MATH_DEFINES #include //cin, cout #include //vector #include //sort,min,max,count #include //string #include //fixed #include //setprecision #include //swap #include //abs(int) #include //sqrt #include //stringstream,getline #include //ceil,M_PI using namespace std; int main() { int N; cin >> N; cout << N - 1 << endl; return 0; }