#include <iostream>
using namespace std; 
/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main() {
	int cnt=0;
	string s;
	getline(cin,s);
	for(int i=0;i<s.size()-2;i++){
		if(s[i]=="k"&&s[i+1]=="e"&&s[i+2]=="y"){
			cout<<"Yes";
			cnt++;
			break;
		}
	}
	if(cnt==0)cout<<"No";
	return 0;
}