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