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