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