9243: ABC292 —— F - Regular Triangle Inside a Rectangle
[Creator : ]
Description
### Problem Statement
Find the maximum side length of a regular triangle that can be drawn within a rectangle whose side lengths are $A$ and $B$.
Find the maximum side length of a regular triangle that can be drawn within a rectangle whose side lengths are $A$ and $B$.
Input
### Input
The input is given from Standard Input in the following format:
```
$A$ $B$
```
The input is given from Standard Input in the following format:
```
$A$ $B$
```
Output
### Output
Print the answer.
Your output is considered correct if the absolute or relative error from the true answer is at most $10^{-9}$.
Print the answer.
Your output is considered correct if the absolute or relative error from the true answer is at most $10^{-9}$.
Constraints
### Constraints
- $1 \leq A,B \leq 1000$
- $A$ and $B$ are integers.
- $1 \leq A,B \leq 1000$
- $A$ and $B$ are integers.
Sample 1 Input
1 1
Sample 1 Output
1.03527618041008295791
The following figure shows an optimal drawing, with the side length of $\sqrt{6}−\sqrt{2}$.