Determine the maximum, the minimum and the average of three integers.

Input

Three integers, each on a separate line.

Output

The maximum, mininum and average of the three integers. The average must be printed with two decimal digits (rounded).

Example

Input:

12
5
8

Output:

maximum: 12
minimum: 5
average: 8.33