Task: Program Execution
Input (English): H, 4, 0, Q
Output (English): [['H', '4', '0'], ['H', '4', 'Q'], ['H', '0', 'Q'], ['4', '0', 'Q']]