Task: Program Execution
Input (English): 2, M, w
Output (English): [['2', 'M'], ['2', 'w'], ['M', 'w']]