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