Task: Program Execution
Input (English): 3, l, 2, S
Output (English): [['3', 'l', '2'], ['3', 'l', 'S'], ['3', '2', 'S'], ['l', '2', 'S']]