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