<prompt> Kwa kuzingatia safu tatu kamili arr1, arr2 na arr3 zilizopangwa kwa mpangilio zinazoongezeka, rudisha safu iliyopangwa ya pekee nambari kamili zilizoonekana katika zote tatu. safu.Mfano wa 1:Ingizo: arr1 1,2,3,4,5, arr2 1,2,5,7,9, arr3 1,3,4,5, 8Pato: 1,5Maelezo: Ni 1 na 5 pekee zilizoonekana katika safu tatu.Mfano wa 2:Ingizo: arr1 197,418,523,876,1356, arr2 501,880,1593,1710,1870, arr3 521,682,1337,1395,1764Pato: Vikwazo: 1 arr1.length, arr2.length, arr3.length 1000 1 arr1i, arr2i, arr3i 2000  <response>: def arraysIntersectionarr1, arr2, arr3: i, j, k 0, 0, 0 matokeo wakati mimi lenarr1 na j lenarr2 na k lenarr3: ikiwa arr1i arr2j na arr2j arr3k: tokeo.ongezaarr1i i, j, k i 1, j 1, k 1 kwingine: ikiwa arr1i arr2j na arr1i arr3k: mimi 1 elif arr2j arr3k: j 1 kwingine: k 1 matokeo ya kurudi 