#include <bits/stdc++.h> using namespace std; #define rep(i,n) for(int i=0;i<n;++i) #define rep1(i,n) for(int i=1;i<=n;++i) #define debug(output) if(debugFlag)cout<<#output<<"= "<<output<<endl using lint = long long; typedef pair<int,int> P; const bool debugFlag=true; const lint linf=1e18+7; const lint inf=1e9+7; const int MOD=1000000007; signed main(){ string s;cin>>s; string x="kyoprotenkei90"; sort(x.begin(),x.end()); sort(s.begin(),s.end()); if(x==s){ cout<<"Yes"<<endl; } else{ cout<<"No"<<endl; } return 0; }