💡By decreasing the smaller number as much as possible and then decreasing the larger number, we can minimize the product.
🧠We can solve the problem twice by first decreasing from a and then from b, and then swap the positions and the constraint.
🔄Swapping the positions and constraints allows us to reuse the same code without overcomplicating the implementation.