2344 - 【基础】再求 f(x,n)

已知

f(x,n)=\dfrac{x}{n+\dfrac{x}{(n-1)+\dfrac{x}{(n-2)+\dfrac{\vdots}{\cdots+\dfrac{x}{1+x}}}}}

用递归函数求解。

Input

第一个数是 x 的值,第二个数是 n 的值。(n 为整数)

Output

函数值,保留两位小数。

Examples

Input

1
2

Output

0.40
Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题