Task: Program Execution
Input (English): x, w, m, 0
Output (English): [['x', 'w', 'm'], ['x', 'w', '0'], ['x', 'm', '0'], ['w', 'm', '0']]