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