Rice cake is a traditional food and one of everyones favorite foods. His production calculation has a delicious calculation method. According to the type of rice selected, input the weight of rice, the weight of white sugar and the weight of water, and calculate the weight of the rice cake according to a proportion of one point, so that the cost can be calculated.