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