Input: People went to restaurant to pray
People went to church to pray

Output: first