Input: HE WAS GOES TO THE HOTEL TO WRITE HIS SEMESTER EXAMS.
HE WAS GOES TO THE  COLLEGE TO WRITE HIS SEMESTER EXAMS.

Output: first