A minimart had some rice. An equal amount of rice was sold each day. At the end of the 7th day, the minimart was left with 1/4 of the amount of rice it had at first. At the end of the 9th day, it was left with 25 kg of rice. How much rice did the minimart have at first?