Task: Program Execution
Input (English): 1, 5, 0, q
Output (English): [['1', '5', '0'], ['1', '5', 'q'], ['1', '0', 'q'], ['5', '0', 'q']]