Grogg, Lizzie, Alex, and Winnie each own two identical hats marked with the first letter of their name.
(a) In how many ways can each beast wear one of these hats?
(b) In how many ways can each beast wear one of these hats so no one is wearing a hat marked with the first letter of their name?