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