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