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