#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); string s; cin >> s; int ans = 0,cnt = 0; for(int i = 0; i+9 <= s.size(); i++) { if(s.substr(i,9) == "yukicoder") { cnt++; ans = max(ans,cnt); i += 8; } else { cnt = 0; } } cout << ans << "\n"; }