first and second. Each line is made of lowercase English words separated by single spaces.
Call a word lonely if, across both lines together, it was spoken exactly once: it appears a single time in one line and not at all in the other.
Return all lonely words in any order.first="red fox runs fast", second="blue fox runs" → ['red', 'fast', 'blue']
"fox" and "runs" appear in both lines. "red" and "fast" occur once, only in the first, and "blue" once, only in the second.
first="go go", second="stop" → ['stop']
"go" is said twice, so it does not count; only "stop" remains.
first="red fox runs fast", second="blue fox runs"
['red', 'fast', 'blue']
Run checks the first 3 tests in your browser. Submit checks all 123 tests on the server, hidden ones included.