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