Input consists of a sequence of lines each containg two non-negative integers separated by whitespace. The first integer is the value of R and the second is the value of X, 0 <= X <= 100.
For each input line, output a single real number with 5 digits of the fraction, giving the required length of the leash.
10 50 50 10 10 0 20 100 37 37 1000 50
11.58728 23.57857 0.00000 40.00000 35.82576 1158.72847