The price of beer rose by 6%, the price of pizza rose by 2.7% and the price of chocolate did not rise at all. Also, suppose that beer presents 8 percent of the economy and pizza represent 31 percent. Chocolate is the rest of the economy. What was the inflation rate for this economy?