A store is having a sale on hats. The sale is buy one hat, get one 50% off. The original price of one hat is $34.98. Nate bought several hats, and the
total cost was $262.35.
How many hats did she buy