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