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