Task: Program Execution
Input (English): Q, g, 2, U, 5, U
Output (English): [['Q', 'g', '2', 'U', '5'], ['Q', 'g', '2', 'U', 'U'], ['Q', 'g', '2', '5', 'U'], ['Q', 'g', 'U', '5', 'U'], ['Q', '2', 'U', '5', 'U'], ['g', '2', 'U', '5', 'U']]