s=input() def yn(hantei, yes='Yes', no='No'): print(yes if hantei else no) yn(sorted(s)==sorted('kyoprotenkei90'))