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