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