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