#include using namespace std; void fast_io() { ios_base::sync_with_stdio(false); cin.tie(nullptr); } int main() { fast_io(); string s; cin >> s; int n = s.size(); string yukicoder = "yukicoder"; int ans = 0; int cnt = 0, j = 0; for (int i = 0; i < n; i++) { if (s[i] == yukicoder[j]) { j++; if (j == 9) { cnt++; j = 0; } } else { cnt = 0; j = 0; } ans = max(ans, cnt); } cout << ans << endl; }