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