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