#P4908. Average of Extremes

    ID: 18149 Type: Default 1000ms 256MiB

Average of Extremes

Average of Extremes

This problem requires you to compute the average of two given numbers: the maximum possible value and the minimum possible value. The answer should be printed on a single line in a fixed two-decimal format.

The formula is given by: \(\text{Average} = \frac{\text{max} + \text{min}}{2}\).

inputFormat

The input consists of a single line with two numbers (they can be integers or floating-point numbers) separated by a space. The first number represents the maximum possible value and the second number represents the minimum possible value.

outputFormat

Output a single line containing the average value, rounded to two decimal places.

sample

10 2
6.00