Worked example: choose first and last words
- Example input
- Grace Brewster Murray Hopper Ada Lovelace; action “First and last”.
- Example output
GH AL
How to interpret it
For the four-word first line, the middle words are deliberately ignored. The two-word second line uses both detected words.