Task: Program Execution
Input (English): r, 8, 2, 5, 1, G, 3
Output (English): [['r', '8', '2', '5', '1', 'G'], ['r', '8', '2', '5', '1', '3'], ['r', '8', '2', '5', 'G', '3'], ['r', '8', '2', '1', 'G', '3'], ['r', '8', '5', '1', 'G', '3'], ['r', '2', '5', '1', 'G', '3'], ['8', '2', '5', '1', 'G', '3']]