s = input() t = "kyoprotenkei90" p = sorted(s) m = sorted(t) if p == m: print("Yes") else: print("No")