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