Task: Program Execution
Input (English): Q, D, j, 5, 1, o, P
Output (English): [['Q', 'D', 'j', '5', '1', 'o'], ['Q', 'D', 'j', '5', '1', 'P'], ['Q', 'D', 'j', '5', 'o', 'P'], ['Q', 'D', 'j', '1', 'o', 'P'], ['Q', 'D', '5', '1', 'o', 'P'], ['Q', 'j', '5', '1', 'o', 'P'], ['D', 'j', '5', '1', 'o', 'P']]