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