for uncoated freesheet paper and market pulp announced at the end of 2009 become effective . input costs are expected to be higher due to wood supply constraints at the kwidzyn mill and annual tariff increases on energy in russia . planned main- tenance outage costs are expected to be about flat , while operating costs should be favorable . asian printing papers net sales were approx- imately $ 50 million in 2009 compared with approx- imately $ 20 million in both 2008 and 2007 . operating earnings increased slightly in 2009 compared with 2008 , but were less than $ 1 million in all periods . u.s . market pulp net sales in 2009 totaled $ 575 million compared with $ 750 million in 2008 and $ 655 million in 2007 . operating earnings in 2009 were $ 140 million ( a loss of $ 71 million excluding alter- native fuel mixture credits and plant closure costs ) compared with a loss of $ 156 million ( a loss of $ 33 million excluding costs associated with the perma- nent shutdown of the bastrop mill ) in 2008 and earn- ings of $ 78 million in 2007 . sales volumes in 2009 decreased from 2008 levels due to weaker global demand . average sales price realizations were significantly lower as the decline in demand resulted in significant price declines for market pulp and smaller declines in fluff pulp . input costs for wood , energy and chemicals decreased , and freight costs were significantly lower . mill operating costs were favorable across all mills , and planned maintenance downtime costs were lower . lack-of-order downtime in 2009 increased to approx- imately 540000 tons , including 480000 tons related to the permanent shutdown of our bastrop mill in the fourth quarter of 2008 , compared with 135000 tons in 2008 . in the first quarter of 2010 , sales volumes are expected to increase slightly , reflecting improving customer demand for fluff pulp , offset by slightly seasonally weaker demand for softwood and hard- wood pulp in china . average sales price realizations are expected to improve , reflecting the realization of previously announced sales price increases for fluff pulp , hardwood pulp and softwood pulp . input costs are expected to increase for wood , energy and chemicals , and freight costs may also increase . planned maintenance downtime costs will be higher , but operating costs should be about flat . consumer packaging demand and pricing for consumer packaging prod- ucts correlate closely with consumer spending and general economic activity . in addition to prices and volumes , major factors affecting the profitability of consumer packaging are raw material and energy costs , freight costs , manufacturing efficiency and product mix . consumer packaging net sales in 2009 decreased 4% ( 4 % ) compared with 2008 and increased 1% ( 1 % ) compared with 2007 . operating profits increased significantly compared with both 2008 and 2007 . excluding alternative fuel mixture credits and facility closure costs , 2009 operating profits were sig- nificantly higher than 2008 and 57% ( 57 % ) higher than 2007 . benefits from higher average sales price realizations ( $ 114 million ) , lower raw material and energy costs ( $ 114 million ) , lower freight costs ( $ 21 million ) , lower costs associated with the reorganiza- tion of the shorewood business ( $ 23 million ) , favor- able foreign exchange effects ( $ 14 million ) and other items ( $ 12 million ) were partially offset by lower sales volumes and increased lack-of-order downtime ( $ 145 million ) and costs associated with the perma- nent shutdown of the franklin mill ( $ 67 million ) . additionally , operating profits in 2009 included $ 330 million of alternative fuel mixture credits . consumer packaging in millions 2009 2008 2007 . 
|<i>In millions</i>|2009|2008|2007|
|Sales|$3,060|$3,195|$3,015|
|Operating Profit|433|17|112|
 north american consumer packaging net sales were $ 2.2 billion compared with $ 2.5 billion in 2008 and $ 2.4 billion in 2007 . operating earnings in 2009 were $ 343 million ( $ 87 million excluding alter- native fuel mixture credits and facility closure costs ) compared with $ 8 million ( $ 38 million excluding facility closure costs ) in 2008 and $ 70 million in 2007 . coated paperboard sales volumes were lower in 2009 compared with 2008 reflecting weaker market conditions . average sales price realizations were significantly higher , reflecting the full-year realization of price increases implemented in the second half of 2008 . raw material costs for wood , energy and chemicals were significantly lower in 2009 , while freight costs were also favorable . operating costs , however , were unfavorable and planned main- tenance downtime costs were higher . lack-of-order downtime increased to 300000 tons in 2009 from 15000 tons in 2008 due to weak demand . operating results in 2009 include income of $ 330 million for alternative fuel mixture credits and $ 67 million of expenses for shutdown costs for the franklin mill . foodservice sales volumes were lower in 2009 than in 2008 due to generally weak world-wide economic conditions . average sales price realizations were .


Question: what is the average value for sales? (in million)

Solution:
def solution():
    # Define variables name and value
    sales_2009 = 3060
    sales_2008 = 3195
    sales_2007 = 3015

    # Do math calculation to get the answer (average sales value)
    answer = (sales_2009 + sales_2008 + sales_2007) / 3
    
    return answer
Answer: 3090