added math problem for leftovers for Sparky the dog
added console.log for the answer