Given the input sentence, please extract the subject and object containing a certain relation in the sentence according to the following relation types, in the format of "relation1: word1, word2; relation2: word3, word4". Relations include: product/material produced; manufacturer; distributed by; industry; position held; original broadcaster; owned by; founded by; distribution format; headquarters location; stock exchange; currency; parent organization; chief executive officer; director/manager; owner of; operator; member of; employer; chairperson; platform; subsidiary; legal form; publisher; developer; brand; business division; location of formation; creator.

BUENOS AIRES Aug 18 Argentina's state-run energy firm YPF will pay about $122 million for stakes in two locally based petrochemical companies as part of its growth strategy to add value to locally produced crude oil, the company said on Tuesday.

Answer: headquarters_location: YPF, BUENOS AIRES