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