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