#include #include using namespace std; using namespace atcoder; using ll = long long; string S; int pos = 0, cnt = 0, ans = 0; int main() { cin >> S; while (pos < S.size()) { if (S.substr(pos, 9) == "yukicoder") { cnt++; pos += 9; } else { ans = max(ans, cnt); cnt = 0; pos += 1; } } ans = max(ans, cnt); cout << ans << endl; return 0; }