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