9425: ABC211 —— A - Blood Pressure
[Creator : ]
Description
You are given a person's systolic blood pressure, $A$, and diastolic blood pressure, $B$.
Find the mean arterial pressure, $C$, which we define as follows:
- $C = \frac{A-B}{3} +B$.
Find the mean arterial pressure, $C$, which we define as follows:
- $C = \frac{A-B}{3} +B$.
Input
Input is given from Standard Input in the following format:
```
$A$ $B$
```
```
$A$ $B$
```
Output
Print the value $C$.
Your output is considered correct when its absolute or relative error from our answer is at most $10^{-5}$.
Your output is considered correct when its absolute or relative error from our answer is at most $10^{-5}$.
Constraints
- $50 \leq B \leq A \leq 300$
- All values in input are integers.
- All values in input are integers.
Sample 1 Input
130 100
Sample 1 Output
110
We have $C=\frac{130-100}{3}+100=10+100=110$.
Sample 2 Input
300 50
Sample 2 Output
133.3333333
Sample 3 Input
123 123
Sample 3 Output
123