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