Task: Program Execution
Input (English): Q, 8, 2, h
Output (English): [['Q', '8', '2'], ['Q', '8', 'h'], ['Q', '2', 'h'], ['8', '2', 'h']]