Math.min() returns the lowest value.
Try it