Task: Program Execution
Input (English): k, p, C, k
Output (English): [['k', 'p', 'C'], ['k', 'p', 'k'], ['k', 'C', 'k'], ['p', 'C', 'k']]