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