Which sentence is correct if we want to emphasize the person allowed to do something?
The teacher allowed to talk in the classroom.
The teacher allowed the students to talk in the classroom.
The teacher allowed talking to the students.
The teacher allowed the students to talk in the classroom.