# Integers
def set_min(value, min_): return max(value, min_)
def set_max(value, max_): return min(value, max_)