s=input() t="yukicoder" ans=0 now,cnt=0,0 now=s.find(t,now) if now==-1: exit(print(0)) while s.find(t,now)!=-1: x=s.find(t,now) if x==now: cnt+=1 else: cnt=1 now=x+9 ans=max(ans,cnt) print(ans)