S = input() y = "yukicoder" ans = 0 cnt = 0 i = 0 while i=len(S): flag = False break if y[j]!=S[i]: flag = False if j==0: i+=1 break i+=1 if flag: cnt += 1 ans = max(ans, cnt) else: ans = max(ans, cnt) cnt = 0 print(ans)