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