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