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