#include using namespace std; int main(){ string s, t; cin >> s; t = "kyoprotenkei90"; map m, n; for(auto a : s) m[a]++; for(auto a : t) n[a]++; bool ans = true; for(auto [a, b] : m){ if(b != n[a]) ans = false; } if(ans) cout << "Yes" << endl; else cout << "No" << endl; }