Task: Program Execution
Input (English): 4, Q, 3, 1, 2
Output (English): [['4', 'Q', '3', '1'], ['4', 'Q', '3', '2'], ['4', 'Q', '1', '2'], ['4', '3', '1', '2'], ['Q', '3', '1', '2']]