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