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