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