Task: Program Execution
Input (English): 2, k, 1, S
Output (English): [['2', 'k', '1'], ['2', 'k', 'S'], ['2', '1', 'S'], ['k', '1', 'S']]