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