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