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