Molly is throwing a beach party. She still needs to buy beach towels and beach balls. Towels are $3 each and beach balls $4 each. She bought 10 items in total and it cost $34. How many beachballs did she got?