#include using namespace std; string s; string t="kadomatsu"; main() { cin>>s; int comb=(1<>j&1) { if(t[j]!=s[sz++])ok=false; } if(ok) { cout<<"Yes"<>1|y; } cout<<"No"<