Question of Maximum A Posteriori probability

Kindly help me for this question

A Binary Symmetric Channel (BSC) has binary (0 or 1) inputs and outputs. It outputs each bit correctly with probability 1 − p and incorrectly with probability p. Assume 0 and 1 are equally likely inputs. State the MAP (Maximum A Posteriori Probability) and ML (Most Likely) decision rules for the BSC when p < ½. How are the decision rules different when p > ½.