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