The 12 members of a basketball team are lining up for their medals after a tournament. In how many ways can this be done a) if there is no restriction? b) if the captain and assistant captain must be together? c) if the captain and assistant captain must not be together?