s = input().replace("yukicoder", "X") now = 0 ans = 0 for c in s: if c == "X": now += 1 ans = max(ans, now) else: now = 0 print(ans)