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