A = sorted(list("kyoprotenkei90")) B = sorted(list(input())) print("Yes" if all(i==j for i,j in zip(A,B)) else "No")