import sys input = lambda: sys.stdin.readline().rstrip() ii = lambda: int(input()) mi = lambda: map(int, input().split()) li = lambda: list(mi()) INF = 2**63-1 mod = 998244353 s = list(input()) y = list("yukicoder") t = y[::] now = 0 for i in range(len(s)): for j in range(len(s) - len(t) + 1): for k in range(len(t)): if t[k] != s[j + k]: break else: now += 1 for v in y: t.append(v) break else: break print(now)