Mifty is a farmer who wants to sell the wheat cultivated in her farm. One day, a customer comes to her house and gives her 3 barrels having capacities to store 5 kg, 15 kg, and 25 kg of wheat, respectively. The customer puts a condition before her. She will have to sell him exactly 49 kg of wheat by using only these 3 barrels for measurement. What is the minimum number of moves she will require if she has unlimited supply of wheat?
Dividing a barrel is not allowed. If she wants to use one barrel, then it should be filled completely. Help Mifty!