Task: Program Execution
Input (English): [10, 1, 4, 1, 4] , [6, 2, 1, 10, 2]
Output (English): [1, 10]