A bakery recorded the number of cupcakes sold each day for a week. The data collected is as follows:
20, 15, 25, 30, 10, 5, 40
Based on this data, what is the average number of cupcakes sold per day?