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