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