The pie chart represents the number of stalks of each type of flowers sold by a florist. An equal number of stalks of tulips and daffodils were sold. The florist sold 12 more stalks of marigolds than peonies. What was the total number of stalks of flowers sold?