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