Place each keyword on an individual line, then select your concatenation options.

List A

List B

List C

Settings

Output settings

Permutations

Select which values to include in the output