Task: Program Execution
Input (English): 4, K, N, 1, x, d
Output (English): [['4', 'K', 'N', '1', 'x'], ['4', 'K', 'N', '1', 'd'], ['4', 'K', 'N', 'x', 'd'], ['4', 'K', '1', 'x', 'd'], ['4', 'N', '1', 'x', 'd'], ['K', 'N', '1', 'x', 'd']]