func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int c = 0;     string s;     cin >> s;     for (int i = 0; i < s.size(); i++) {       if (s[i] == s[i + 1]) {         c++;         if (c >= 6) break;       } else if (s[i] != s[i + 1]) {         c = 0;       }     }     if (c >= 6) {       cout <<  YES  << endl;     } else       cout <<  NO  << endl;     return 0;   }   