s=input()
n=len(s)
s+="#########"
t="yukicoder"
i=0
a=0
c=0
while i<n:
	if s[i:i+9]==t:
		c+=1
		i+=9
	else:
		a=max(a,c)
		c=0
		i+=1