Input: Students teach teachers
Teachers teach students

Output: first