Task: Program Execution
Input (English): Q, 2, g, H
Output (English): [['Q', '2', 'g'], ['Q', '2', 'H'], ['Q', 'g', 'H'], ['2', 'g', 'H']]