s=list(input()) if s.count("k")==2 and s.count("o")==2 and s.count("e")==2 and s.count("y")==s.count("p")==s.count("r")==s.count("t")==s.count("n")==s.count("i")==s.count("9")==s.count("0"): print("Yes") else: print("No")