S = sorted(list(input())) T = sorted("kyoprotenkei90") if S == T: print("Yes") else: print("No")