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