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