Select freely from each category (multiple selections are allowed). A single click adds/removes a tag. The final line at the bottom lists all the tags selected, separated by a single space, ready to be copied/pasted.
You can also select all (Ctrl/Cmd + A) and then copy (Ctrl/Cmd + C).