Task: Program Execution
Input (English): 5, S, 1, 3
Output (English): [['5', 'S', '1'], ['5', 'S', '3'], ['5', '1', '3'], ['S', '1', '3']]