#include using namespace std; int main(){ string s; cin >> s; int ans = 0; int t = 0; for(int i = 0;i < (int)s.size() - 8;){ if(s.substr(i,9) == "yukicoder"){t++;i += 9;} else{ ans = max(ans,t); t = 0; i++; } } if(t != 0) ans = max(ans,t); cout << ans; }