S = input() l = [] now = 0 le = len(S) while now < le: if S[now:now+9] == "yukicoder": l.append(1) now += 9 else: l.append(0) now += 1 ans = 0 now = 0 for x in l: if x: now += 1 ans = max(ans,now) else: now = 0 print(ans)