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