2. Three girls, Anya, Sanya, and Tanya, lined up one after another in a queue at the theater box office. List the possible cases of the girls' arrangement in the queue.

Write out the possible cases of the girls' arrangement in the queue.
2. Let's denote the girls by the first letters of their names. We get the following 6 cases of the girls' arrangement in the queue:

ACT, ATC, CAT, CTA, TAC, TCA.