Ajosey buys some avocados. After bringing the avocados home, she finds two to be rotten and throws them away. Of the remaining avocados, she puts five-ninth in her fridge, and brings the rest to her hostel. She eats two avocados and puts the rest in her hostel's mess fridge. If her hostel mess fridge cannot hold more than five avocados, what is the maximum possible number of avocados bought by Ajosey?