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