Divide with remainders

Divide with remainders