The pie chart represents the number of stalks of each type of flowers sold by a florist. An equal number of stalks of carnations and roses were sold. The florist sold 9 more stalks of peonies than sunflowers. What was the total number of stalks of flowers sold?