Input: Chicken in pond
Duck in pond

Output: first