Task: Program Execution
Input (English): 3, x, 4, R
Output (English): [['3', 'x', '4'], ['3', 'x', 'R'], ['3', '4', 'R'], ['x', '4', 'R']]