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