Task: Program Execution
Input (English): B, 5, d
Output (English): [['B', '5'], ['B', 'd'], ['5', 'd']]