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