func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, v = 0, p = 0;     string s, result =   ;     cin >> n >> s;     v = (n - 11) / 2;     p = v;     for (int i = 0; i < n; i++) {       if (s[i] ==  8 ) {         if (v > 0)           v--;         else           result += s[i];       } else {         if (p > 0)           p--;         else           result += s[i];       }     }     if (result[0] ==  8 )       cout <<  YES  << endl;     else       cout <<  NO  << endl;     return 0;   }   