Let X be the set X=\left\{x_1,x_2,...,x_n\right\}, where each x_i is a Bernoulli random variable and P be the set P=\left\{p_1,p_2,...,p_n\right\}, where p_i is the probability that x_i=1. Now, suppose there are two other sets, A=\left\{a_1,a_2,...,a_n\right\} and...