ChatGPT - Convert list to foobar