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