Task: Program Execution
Input (English): x, 5, n, f, 4, P, 2
Output (English): [['x', '5', 'n', 'f', '4', 'P'], ['x', '5', 'n', 'f', '4', '2'], ['x', '5', 'n', 'f', 'P', '2'], ['x', '5', 'n', '4', 'P', '2'], ['x', '5', 'f', '4', 'P', '2'], ['x', 'n', 'f', '4', 'P', '2'], ['5', 'n', 'f', '4', 'P', '2']]