S = input() ans = 0 cnt = 0 now = 0 while now < len(S): if S[now:now+9] == "yukicoder": cnt += 1 now += 9 else: ans = max(ans, cnt) now += 1 cnt = 0 ans = max(ans, cnt) print(ans)