CF924B Three-level Laser

Description

An atom of element X can exist in $ n $ distinct states with energies $ E_{1}

Input Format

The first line contains two integers $ n $ and $ U $ ( $ 3

Output Format

If it is not possible to choose three states that satisfy all constraints, print -1. Otherwise, print one real number $ η $ — the maximum possible energy conversion efficiency. Your answer is considered correct its absolute or relative error does not exceed $ 10^{-9} $ . Formally, let your answer be $ a $ , and the jury's answer be $ b $ . Your answer is considered correct if ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF924B/b096933069cd16441a106d6e431b8a276a9bc4f3.png).

Explanation/Hint

In the first example choose states $ 1 $ , $ 2 $ and $ 3 $ , so that the energy conversion efficiency becomes equal to ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF924B/dce12a2cd3991eb50251b026c5d21e8a7972a1a8.png). In the second example choose states $ 4 $ , $ 5 $ and $ 9 $ , so that the energy conversion efficiency becomes equal to ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF924B/92eb31d78d8cae5d41f0d6508215bf8fc27fa5c7.png).