Task: Program Execution
Input (English): p, S, D, 4
Output (English): [['p', 'S', 'D'], ['p', 'S', '4'], ['p', 'D', '4'], ['S', 'D', '4']]