func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     if (n <= 2) {       cout << 0 << endl;     } else {       n -= 1;       cout << n / 2 << endl;     }     return 0;   }   