Task: Program Execution
Input (English): D, 1, J
Output (English): [['D', '1'], ['D', 'J'], ['1', 'J']]