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