#include using namespace std; int main(){ string S; cin >> S; string T = "yukicoder"; int N = S.size(); int mx = 0; int c = 0; for (int i = 0; i < N; i++){ if (S[i] == T[c % 9]){ c++; mx = max(mx, c / 9); } else { c = 0; } } cout << mx << endl; }