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