func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, i, L = 0, R = 0;     string key;     cin >> n;     cin >> key;     for (i = 0; i < n; i++) {       if (key[i] ==  L )         L++;       else         R++;     }     cout << abs(R + L) + 1 << endl;   }   