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