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