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