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