Task: Program Execution
Input (English): 6, D, H, 6
Output (English): [['6', 'D', 'H'], ['6', 'D', '6'], ['6', 'H', '6'], ['D', 'H', '6']]