Input: Last night she slept on the fan
last night she slept on the bed

Output: first