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