Min Max:

Output: