Task: Program Execution
Input (English): p, 6, d
Output (English): [['p', '6'], ['p', 'd'], ['6', 'd']]