#include #define num 15 int main(void) { int count = 0, check; char A[num] = "kyoprotenkei90", S[num]; int N[num]; scanf("%s", S); for (int i = 0; i < num; i++) { for (int j = 0; j < num; j++) { check = 1; if (A[i] == S[j]) { for (int k = 0; k < count; k++) { if (j == N[k]) { check = 0; } } if (check) { N[count++] = j; break; } } } } if (count == num) { printf("Yes\n"); }else { printf("No\n"); } }