Aubrey needs to find the smallest and largest values in a given list of five numbers. Moreover, he needs to add them.
INPUT FORMAT
Input consists of five integers whose values are from 1 - 100.
OUTPUT FORMAT
Output the minimum, the maximum, and their sum. Separate the values by a single space.