You Should Believe Him Now

Riaz_BSMRSTU BSMRSTU Home Quarantine C...
Limits 1s, 512 MB

My friend, Qbaidul claimed again that he can do math. He knows that no one going to believe him this time too. So, he did some math and gave you a challenge to do math like him. He calculated the average of two numbers and told you to do so.

You will be given two numbers, Just find the average.

Input

Input will contain TT (1T1001 \le T \le 100) test cases.

Each test case will contain two numbers, AA and BB (1A,B10181 \le A, B \le 10^{18}).

Output

For each test case, print the average. Print one digit after decimal point.

Sample

InputOutput
2
2 1
2 2
1.5
2.0

Submit

Login to submit.

Statistics

70% Solution Ratio
iammarajulEarliest, May '20
iammarajulFastest, 0.0s
Shanto_NoorLightest, 0 B
silenced.VOICEShortest, 133B
Toph uses cookies. By continuing you agree to our Cookie Policy.