s = input() idx = 0 num = 0 su = 0 fd = 0 while 1: try: ik = s.index("yukicoder", idx) fd = 1 if ik - idx == 8: num += 1 su = max(su, num) else: num = 0 idx = ik + 1 except: break print(su + fd)