Given an integer array consisting of 121 integers, each ranging from 1 to 1000 (duplicates allowed), this array has a unique mode (the number that appears the most frequently). Let be the difference between this mode and the arithmetic mean of the array. When reaches its maximum value, what is the integer part of ?