Simplifying to the end

Remainder is zero