Task: Program Execution
Input (English): 3, H, c, p, q
Output (English): [['3', 'H', 'c', 'p'], ['3', 'H', 'c', 'q'], ['3', 'H', 'p', 'q'], ['3', 'c', 'p', 'q'], ['H', 'c', 'p', 'q']]