Task: Program Execution
Input (English): 6, M, D
Output (English): [['6', 'M'], ['6', 'D'], ['M', 'D']]