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