S = gets.strip.split("").sort! A = "kyoprotenkei90".split("").sort! puts S == A ? "Yes" : "No"