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