Task: Program Execution
Input (English): s, 1, 0, Q, 5, M
Output (English): [['s', '1', '0', 'Q', '5'], ['s', '1', '0', 'Q', 'M'], ['s', '1', '0', '5', 'M'], ['s', '1', 'Q', '5', 'M'], ['s', '0', 'Q', '5', 'M'], ['1', '0', 'Q', '5', 'M']]