S=input() if sorted(S)==sorted('kyoprotenkei90'): print('Yes') else: print('No')