Input: he got excited when his friends betrayed him
he got angry when his friends betrayed him

Output: first