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