Mrs. Steffen's third grade class has students in it. The students are divided into three groups (numbered , , and ), each having students.
The students in group earned extra minutes of recess by winning a class competition. Before going out for their extra recess time, they form a single file line. In how many ways can they line up?
When all students come in from recess together, they again form a single file line. However, this time the students are arranged so that the first student is from group , the second from group , the third from group , and from there on, the students continue to alternate by group in this order. In how many ways can they line up to come in from recess?