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