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