def main(): print('Yes') if sorted(input()) == sorted('kyoprotenkei90') else print('No') if __name__ == '__main__': main()