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