S = "a"+input()+"a" l = S.split("yukicoder") ans = 0 now = 0 for x in l: if x: now = 0 else: now += 1 ans = max(ans,now+1) # print(l) print(ans)