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