Score : 200 points
A string is called a KEYENCE string when it can be changed to keyence by removing its contiguous substring (possibly empty) only once.
Given a string S consisting of lowercase English letters, determine if S is a KEYENCE string.
Input is given from Standard Input in the following format:
S
If S is a KEYENCE string, print YES; otherwise, print NO.
keyofscience
YES
keyence is an abbreviation of key of science.
mpyszsbznf
NO
ashlfyha
NO
keyence
YES