s=input() ma=0 now=0 i=0 while i=len(s): break if s[i:i+9]=="yukicoder": now+=1 i+=8 else: ma=max(ma,now) now=0 i+=1 ma=max(ma,now) print(ma)