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