Reducing a Ratio to Its Lowest Form