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