wlist=[ i for i in input()]
klist=["k","e","y","e","n","c","e"]
a=0
b=0
while b<=6:
    if wlist[a]==klist[b]:
        a+=1
        b+=1
    else:
        a+=1
if b==7:
    print("YES")
else:
    print("NO")