#include using namespace std; const int siz = 9; const string yuki = "yukicoder"; int main() { string s; cin >> s; int n = s.size(); vector loc; for (int i = 0; i <= n - siz; i++) { string t = s.substr(i, siz); if (t == yuki) { loc.push_back(i); } } int pre = 1e8; int cont = 0, ans = 0; for (int x : loc) { if (x - pre == siz) { cont++; } else { cont = 1; } ans = max(ans, cont); pre = x; } cout << ans << endl; }