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