Input: Wolfs are friend of man
Dogs are friend of man

Output: first