Task: Program Execution
Input (English): Q, C, 1, x, 7, d
Output (English): [['Q', 'C', '1', 'x', '7'], ['Q', 'C', '1', 'x', 'd'], ['Q', 'C', '1', '7', 'd'], ['Q', 'C', 'x', '7', 'd'], ['Q', '1', 'x', '7', 'd'], ['C', '1', 'x', '7', 'd']]