S = input().replace("yukicoder", "?") ans,cnt = 0,0 for i in range(len(S)): if S[i] == "?": cnt += 1 ans = max(ans, cnt) else: cnt = 0 print(ans)