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