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