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