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