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