#include <stdio.h>

int main()
{
	char S[15], T[15] = "kyoprotenkei90";
	scanf("%s", S);
	
	int i, count[128] = {};
	for (i = 0; S[i] != 0; i++) count[S[i]]++;
	for (i = 0; T[i] != 0; i++) count[T[i]]--;
	for (i = 0; i < 128; i++) if (count[i] != 0) break;
	if (i == 128) printf("Yes\n");
	else printf("No\n");
	fflush(stdout);
	return 0;
}