Find the most frequent integers in an array