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