m=input() y='' cnt=0 ans=0 i=0 while cnt<=10**6: i+=1 if m.count(y) > 0: ans=i-1 y+='yukicoder' cnt+=9 print(ans)