3.
In a group of students, one group takes an exam. Afterwards, all the students who took the exam are included in that group. A second group also takes the exam. In this, 2 students are added to the first group. The total number of students is 12. How many students took the exam first?