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