Task: Program Execution
Input (English): A, S, 4, 1
Output (English): [['A', 'S', '4'], ['A', 'S', '1'], ['A', '4', '1'], ['S', '4', '1']]