Input: The teacher is friendly to his students and is loved by them
The teacher is friendly to his students and is hated by them

Output: second