Task: Program Execution
Input (English): X, Z, M
Output (English): [['X', 'Z'], ['X', 'M'], ['Z', 'M']]