Input: for exam, you can have apple pie
for dessert, you can have apple pie

Output: first