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