The inputs are the probability of a coin going up [0.6, 0.3, 0.4, 0.5, 0.7] and an integer k find probability of exactly k coins facing up.