Task: Program Execution
Input (English): p, A, D, 3
Output (English): [['p', 'A', 'D'], ['p', 'A', '3'], ['p', 'D', '3'], ['A', 'D', '3']]