A class contains 4 boys and g girls. Every sunday five students, including at least three boys go for a picnic to Zoo Park, a different group being sent every week. During, the picnic, the class teacher gives each girl in the group a doll. If the total number of dolls distributed was 85, then value of g is