Enter group counting with leftover

The following practice problem has been generated for you:

Solve for in the following:
8 groups of 10 and 4 left