s=input() t='yukicoder' n=len(t) ans=0 c=0 i=0 while i+n<=len(s): if s[i:i+n]==t: c+=1 i+=n else: ans=max(ans,c) c=0 i+=1 ans=max(ans,c) print(ans)