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