Bernoulli scheme#11726

Bernoulli scheme

1 second
128 megabytes
Very easy

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.

Input

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).

Output

Print the probability that in independent trials, event will occur exactly times. Print the answer with at least decimal places.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading