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