Input: Earth is a star
The sun is a star

Output: first