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