100 atcoder#ABC211A. [ABC211A] Blood Pressure

[ABC211A] Blood Pressure

Score : 100100 points

Problem Statement

You are given a person's systolic blood pressure, AA, and diastolic blood pressure, BB. Find the mean arterial pressure, CC, which we define as follows:

  • C=AB3+BC = \frac{A-B}{3} +B.

Constraints

  • 50BA30050 \leq B \leq A \leq 300
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

AA BB

Output

Print the value CC. Your output is considered correct when its absolute or relative error from our answer is at most 10510^{-5}.

130 100
110

We have C=1301003+100=10+100=110C = \frac{130-100}{3} +100 = 10 + 100 = 110.

300 50
133.3333333

Note that although all the values in input are integers, the value to output may not be an integer.

123 123
123