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