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