#include <bits/stdc++.h>
using namespace std;
using ll = long long;

int main(void) {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    cout << fixed << setprecision(15);

    string word = "kyoprotenkei90";
    unordered_map<char, ll> m1;
    for (auto && c : word) {
        m1[c]++;
    }

    string S;
    cin >> S;
    unordered_map<char, ll> m2;
    for (auto && c : S) {
        m2[c]++;
    }

    cout << ((m1 == m2) ? "Yes" : "No") << "\n";
}