Task: Program Execution
Input (English): [1, 4, 1, 1, 1, 10] , [3, 10, 1, 10, 10, 6]
Output (English): [1, 10]