find duplicate elements in array

join shbcf.ru