Input: I turned green when passing a crossroads
I turned right when passing a crossroads

Output: first