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