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