In the following experiment, write the sample space S, number of sample point n(S), event A, B, n(A), n(B). Two coins are tossed, A is the event of getting at most one head, B is the event of getting both heads.