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