Task: Program Execution
Input (English): 3, m, h, 2
Output (English): [['3', 'm', 'h'], ['3', 'm', '2'], ['3', 'h', '2'], ['m', 'h', '2']]