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