Task: Program Execution
Input (English): 5, 7, 8, 4, D
Output (English): [['5', '7', '8', '4'], ['5', '7', '8', 'D'], ['5', '7', '4', 'D'], ['5', '8', '4', 'D'], ['7', '8', '4', 'D']]