moji=input() yuki='yukicoder' l=len(yuki) ans=0 while l<10**6: if moji.count(yuki)>0: ans=l//9 yuki+=yuki l=len(yuki) print(ans)