def add(a, b):
    return a + b

def clamp(n, low, high):
    return max(low, min(high, n))
