mislove array a_1 a_2 cdot a_n n positive integer lose he remember follow fact the number different number array l great r for array element a_i a_i 1 a_i number dfraca_i2 arrayfor example n5 l2 r3 array 12244 11112 could not 12248 array contain 4 different number could not 12233 3 odd is not equal 1 could not 112216 number 16 array is not number frac162 8according fact ask count minimal maximal possible sum element array