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