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