not long ago vlad birthday present package candy there n type candy a_i candy type 1 le le nVlad decide eat exactly candy time choose candy type currently frequent type choose to maximum pleasure eat Vlad want eat candy type rowhelp figure eat candy eat identical candy row