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