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