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