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