You're a zookeeper. You're heading to an animal sanctuary to adopt some creatures for your zoo. At the sanctuary, there are three types of creatures available for adoption. You can adopt:
Elephants for £10 each. Chameleons for £1 each. Fireflies, which come in jars. Each jar has 8 fireflies and costs £1.
You want to adopt 100 creatures in total and spend £100. What is the combination of elephants, chameleons, and jars of fireflies that allows you to achieve this? Note that to have an inclusive zoo, you must adopt at least one of each.