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