Task: Program Execution
Input (English): D, 5, 4, 1, P, 6
Output (English): [['D', '5', '4', '1', 'P'], ['D', '5', '4', '1', '6'], ['D', '5', '4', 'P', '6'], ['D', '5', '1', 'P', '6'], ['D', '4', '1', 'P', '6'], ['5', '4', '1', 'P', '6']]