#include #include #include #include #include #include #include #include #include #include using ll = long long; using namespace std; int main() { string s, yuki = "yukicoder"; cin >> s; int n, i = 0, cnt = 0, max1 = 0; n = s.size(); while (n){ if (s.substr(i, 9) == yuki){ cnt++; i += 9; n -= 9; max1 = max(max1, cnt); } else { cnt = 0; i++; n--; } } cout << max1 << endl; }