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