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