Task: Program Execution
Input (English): [3, 8, 5, 9, 10, 1] , [5, 10, 6, 8, 7, 7]
Output (English): [5, 8, 10]