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