Task: Program Execution
Input (English): o, 5, 3, X, M, 1
Output (English): [['o', '5', '3', 'X', 'M'], ['o', '5', '3', 'X', '1'], ['o', '5', '3', 'M', '1'], ['o', '5', 'X', 'M', '1'], ['o', '3', 'X', 'M', '1'], ['5', '3', 'X', 'M', '1']]