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