Sharing sweets

Maria and Lucy spun a coin 30 times, and gave each other sweets depending on the outcome of the spin. How many times was tails spun?
Exploring and noticing Working systematically Conjecturing and generalising Visualising and representing Reasoning, convincing and proving
Being curious Being resourceful Being resilient Being collaborative

Problem



Maria and Lucy spun a coin $30$ times.

Whenever the coin showed heads, Maria gave $2$ sweets to Lucy.

Whenever the coin showed tails, Lucy gave $3$ sweets to Maria.

After all $30$ spins, Maria and Lucy both had the same number of sweets that they started with. How many times did the coin show tails?

If you liked this problem, here is an NRICH task that challenges you to use similar mathematical ideas.