Task: Program Execution
Input (English): 1, 9, 1, 8, 6, q
Output (English): [['1', '9', '1', '8', '6'], ['1', '9', '1', '8', 'q'], ['1', '9', '1', '6', 'q'], ['1', '9', '8', '6', 'q'], ['1', '1', '8', '6', 'q'], ['9', '1', '8', '6', 'q']]