Task: Program Execution
Input (English): Q, d, D, 1, 5, X, 9
Output (English): [['Q', 'd', 'D', '1', '5', 'X'], ['Q', 'd', 'D', '1', '5', '9'], ['Q', 'd', 'D', '1', 'X', '9'], ['Q', 'd', 'D', '5', 'X', '9'], ['Q', 'd', '1', '5', 'X', '9'], ['Q', 'D', '1', '5', 'X', '9'], ['d', 'D', '1', '5', 'X', '9']]