Input: A wallet contains teddies
A wallet contains tickets

Output: first