Let us consider the Bernoulli trial scheme.
There are independent trials. The probability of event occurring in each trial is . Find the probability that in independent trials, event will occur exactly times.
The first line contains two integers: n~(0 < n \le 15) and k~(0 \le k \le n).
The second line contains one real number p~(0 \le p \le 1).
Print the probability that in independent trials, event will occur exactly times. Print the answer with at least decimal places.
Example 1
Example 2