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