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