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