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