//Normal-2 #define _GLIBCXX_DEBUG #define ll long long #include using namespace std; using Graph = vector>; void p(auto a){ cout << a; } void ps(auto a){ cout << a << " "; } void ps(){ cout << " "; } void pl(auto a){ cout << a << endl; } void pl(){ cout << endl; } void fix15(){ cout << fixed << setprecision(15); } void YES(){ pl("YES"); } void NO(){ pl("NO"); } void Yes(){ pl("Yes"); } void No(){ pl("No"); } void yes(){ pl("yes"); } void no(){ pl("no"); } //Normal-2 int main(){ string S; cin >> S; int f = (int)S.find("yukicoder"); while(f != -1){ S.replace(f, 9, "#"); f = (int)S.find("yukicoder"); } int ans = 0, chain = 0; for(int i = 0; i < (int)S.size(); i++){ if(S[i] != '#'){ ans = max(ans, chain); chain = 0; }else{ chain++; } } pl(max(ans, chain)); }