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