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