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