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