#include using namespace std; string yuki = "yukicoder"; int main() { string s; cin >> s; int n = s.size(); int ans = 0; int c = 0; for (int i = 0; i < n - yuki.size() + 1; i++) { if (s.substr(i, (int)yuki.size()) == yuki) { c++; i += yuki.size() - 1; } else { c = 0; } ans = max(ans, c); } cout << ans << endl; }