Let $S$ be an information source at the input of an information channel, and $\bar{S}$ the information source at the output, given by (4.7.2). Prove that
$$
I(X, Y)=H(S)+H(\bar{S})-H(S, \bar{S}),
$$
where $H(S, \bar{S})$ is the entropy of the input-output pairs [with probabilities given in (4.7.1)].