## A Math Contest P6 - Global Maximum

View as PDF

Points: 10
Time limit: 0.5s
Memory limit: 512M

Author:
Problem type

You are given integers and . Among all real solutions to the equations and , what is the maximal value of ?

#### Input Specification

The only line contains two space-separated integers, and .

#### Output Specification

If there are no solutions, output no; otherwise, output the maximal value of .

Your answer will be accepted if the absolute error is within .

#### Sample Input

7 13

#### Sample Output

2.500000

#### Explanation for Sample

The maximal value of is reached at .