Contest Duration: - (local time) (100 minutes) Back to Home
A - Blood Pressure /

Time Limit: 2 sec / Memory Limit: 1024 MB

### 問題文

ただし、平均血圧は以下のように定義されるとします。

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

### 制約

• 50 \leq B \leq A \leq 300
• 入力に含まれる値は全て整数である

### 入力

A B


C を出力せよ。

### 入力例 1

130 100


### 出力例 1

110


C = \frac{130-100}{3} +100 = 10 + 100 = 110 となります。

### 入力例 2

300 50


### 出力例 2

133.3333333


### 入力例 3

123 123


### 出力例 3

123


Score : 100 points

### Problem Statement

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.

### Constraints

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

### Input

Input is given from Standard Input in the following format:

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}.

### Sample Input 1

130 100


### Sample Output 1

110


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

### Sample Input 2

300 50


### Sample Output 2

133.3333333


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

### Sample Input 3

123 123


### Sample Output 3

123