(a) \( A = \{(R, R, R), (L, L, L), (S, S, S)\} \)
(b) \( B = \{(R, L, S), (R, S, L), (L, R, S), (L, S, R), (S, R, L), (S, L, R)\} \)
(c) \( C = \{(R, R, L), (R, L, R), (L, R, R), (R, R, S), (R, S, R), (S, R, R)\} \)
(d) \( D = \{(R, R, L), (R, L, R), (L, R, R), (R, R, S), (R, S, R), (S, R, R), (L, L, R), (L, R, L), (R, L, L), (L, L, S), (L, S, L), (S, L, L), (S, S, R), (S, R, S), (R, S, S), (S, S, L), (S, L, S), (L, S, S)\} \)