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