The solution is to break into the meter and take all the coins, once you are home you can count the quarters. That way you get the answer and prize money.
In Canada, a Loonie is a coin with a value of $1. We have a $2 coin as well - it's called a toonie. It's even made of two kinds of metals; that's just how we do things up here! Although it must be said that carrying a bunch of $1 bills is less weight than a bunch of coins, but I like loonies! And toonies, for that fact - twice as much!
But on topic, I remember Grade 9 math and doing stuff like that. Makes me glad I'm doing political science nowadays... I doubt I could answer the OP's question without a lot more thought and effort than it would be worth!