Extract teacher name from room when lecture