Input: San Francisco is a town
San Francisco is a city

Output: first