read S
A=0
if [[ $S == *keyence ]]; then
	A=1
fi
if [[ $S == k*eyence ]]; then
	A=1
fi
if [[ $S == ke*yence ]]; then
	A=1
fi
if [[ $S == key*ence ]]; then
	A=1
fi
if [[ $S == keye*nce ]]; then
	A=1
fi
if [[ $S == keyen*ce ]]; then
	A=1
fi
if [[ $S == keyenc*e ]]; then
	A=1
fi
if [[ $S == keyence* ]]; then
	A=1
fi

if [ $A == 1 ]; then
	echo YES
else
	echo NO
fi

