11-5. Santa Claus is preparing gifts. He has distributed 115 candies into bags, with each bag containing a different number of candies. In the three smallest gifts, there are 20 candies, and in the three largest - 50. How many bags are the candies distributed into? How many candies are in the smallest gift?