#include using namespace std; using ll = long long; int main(){ string s,std = "kyoprotenkei90"; cin >> s; sort(s.begin(),s.end()); sort(std.begin(),std.end()); cout << (s == std ? "Yes" : "No") << endl; return 0; }