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