Bayes Rule

Let S1, S2, , Sn be n mutually exclusive events whose union is the sample space S. Let B be an arbitrary event in S such that P(B)¹ 0. Then for j=1,2,,n is