li = list(input())
res = []
for x in li:
    if x == "k" or x == "e" or x == "y" or x == "n"or x == "c":
        res.append(x)
if "".join(sorted(set(res))) == "cekny":
    print("YES")
else:
    print("NO")
        