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