#include //#include using namespace std; //using namespace atcoder; //using mint = modint1000000007; typedef long long ll; #define FOR(I,A,B) for(ll I = ll(A); I < ll(B); ++I) ll keta_(ll a){ll r=0;while(a){a/=10;r++;}return r;} int main(){ string s,t = "kyoprotenkei90"; cin >> s; sort(s.begin(), s.end()); sort(t.begin(), t.end()); if(s==t){ cout << "Yes" << endl; }else{ cout << "No" << endl; } }