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