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