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