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