~/algor $ cat problems/orta-arifmetik
Arithmetic mean
Easy
1000 ms
64 MB
9%
Two integers $a$ and $b$ are given. Find their arithmetic mean:
$$\frac{a + b}{2}$$
Input
One line with two integers: $a$ and $b$.
Output
One number — the arithmetic mean, with exactly 1 digit after the decimal point (for example, 2.5). A whole result is written the same way: 4.0.
Note
$-10^{9} \le a, b \le 10^{9}$
Examples
Input #1
2 3
Output #1
2.5
Input #2
4 4
Output #2
4.0