Task: Program Execution
Input (English): 2, w, 1, T
Output (English): [['2', 'w', '1'], ['2', 'w', 'T'], ['2', '1', 'T'], ['w', '1', 'T']]