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