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