s = input() kyo = "kyoprotenkei90" s = "".join(sorted(s)) kyo = "".join(sorted(kyo)) if s == kyo: print("Yes") else: print("No")