Amelia is selling potted plants at her nursery. She charges $12 for each succulent and $4 for each ivy. She sold 34 potted plants and made $240. How many of each plants did she sell?