How this can return the minimum of a,b,c,d? a = min(a, b) c = min(c, d) return min(a, c)