Task: Program Execution
Input (English): G, 1, 8, 5, m, c, 8
Output (English): [['G', '1', '8', '5', 'm', 'c'], ['G', '1', '8', '5', 'm', '8'], ['G', '1', '8', '5', 'c', '8'], ['G', '1', '8', 'm', 'c', '8'], ['G', '1', '5', 'm', 'c', '8'], ['G', '8', '5', 'm', 'c', '8'], ['1', '8', '5', 'm', 'c', '8']]