Task: Program Execution
Input (English): 3, M, 1, 9, 8
Output (English): [['3', 'M', '1', '9'], ['3', 'M', '1', '8'], ['3', 'M', '9', '8'], ['3', '1', '9', '8'], ['M', '1', '9', '8']]