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