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