Task: Program Execution
Input (English): 8, m, 1, a, M, 2
Output (English): [['8', 'm', '1', 'a', 'M'], ['8', 'm', '1', 'a', '2'], ['8', 'm', '1', 'M', '2'], ['8', 'm', 'a', 'M', '2'], ['8', '1', 'a', 'M', '2'], ['m', '1', 'a', 'M', '2']]