3652 - 大新闻

Input

Output

Examples

Input

3 0.5

Output

2.000000

Hint

1<=N<=10^18

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