Burger King interview question

How to count change correctly