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