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