func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     char c;     int sum = 0;     if (n % 2 == 0) {       int f = 1;       for (int i = 1; i <= n; i++) {         cin >> c;         if (c ==  ( )           sum++;         else           sum--;         if (sum < -1) break;       }       if (sum != 0) f = 0;       if (f)         cout <<  Yes n ;       else         cout <<  No n ;     } else       cout <<  No n ;     return 0;   }   