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