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