Task: Program Execution
Input (English): A, 4, d
Output (English): [['A', '4'], ['A', 'd'], ['4', 'd']]