library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }
}
function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }
/**
 * @dev Returns the smallest of two numbers.
 */