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