s = input() y = "yukicoder" maxy = 0 cnt = 1 for i in range(len(s)- len(y) +1): if s[i:i+9] == y and s[i+9:i+18] == y: cnt += 1 maxy = max(maxy, cnt) elif s[i:i+9] == y and s[i+9:i+18] != y: cnt = 1 print(maxy)