Input: Europe is in france
france is in Europe

Output: first