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