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