s = input() y = "yukicoder" maxy = 0 cnt = 0 i = 0 while i < len(s): if i < len(s) - 8 and s[i:i+9] == y: cnt += 1 maxy = max(maxy, cnt) i += 9 else: cnt = 0 i += 1 print(maxy)