Task: Program Execution
Input (English): 6, p, 7, M, 6, 4
Output (English): [['6', 'p', '7', 'M', '6'], ['6', 'p', '7', 'M', '4'], ['6', 'p', '7', '6', '4'], ['6', 'p', 'M', '6', '4'], ['6', '7', 'M', '6', '4'], ['p', '7', 'M', '6', '4']]