S,K=input(),0 for i in range(len(S)-8): c=0 while S[i:i+9]=="yukicoder":c,i=c+1,i+9 K=max(c,K) print(K)