Task: Program Execution
Input (English): 1, Q, 0, h
Output (English): [['1', 'Q', '0'], ['1', 'Q', 'h'], ['1', '0', 'h'], ['Q', '0', 'h']]