mastercard incorporated notes to consolidated financial statements 2014 ( continued ) ( in thousands , except percent and per share data ) equity awards was $ 30333 , $ 20726 and $ 19828 for the years ended december 31 , 2009 , 2008 and 2007 , respectively . the income tax benefit related to options exercised during 2009 was $ 7545 . the additional paid-in capital balance attributed to the equity awards was $ 197350 , $ 135538 and $ 114637 as of december 31 , 2009 , 2008 and 2007 , respectively . on july 18 , 2006 , the company 2019s stockholders approved the mastercard incorporated 2006 non-employee director equity compensation plan ( the 201cdirector plan 201d ) . the director plan provides for awards of deferred stock units ( 201cdsus 201d ) to each director of the company who is not a current employee of the company . there are 100 shares of class a common stock reserved for dsu awards under the director plan . during the years ended december 31 , 2009 , 2008 and 2007 , the company granted 7 dsus , 4 dsus and 8 dsus , respectively . the fair value of the dsus was based on the closing stock price on the new york stock exchange of the company 2019s class a common stock on the date of grant . the weighted average grant-date fair value of dsus granted during the years ended december 31 , 2009 , 2008 and 2007 was $ 168.18 , $ 284.92 and $ 139.27 , respectively . the dsus vested immediately upon grant and will be settled in shares of the company 2019s class a common stock on the fourth anniversary of the date of grant . accordingly , the company recorded general and administrative expense of $ 1151 , $ 1209 and $ 1051 for the dsus for the years ended december 31 , 2009 , 2008 and 2007 , respectively . the total income tax benefit recognized in the income statement for dsus was $ 410 , $ 371 and $ 413 for the years ended december 31 , 2009 , 2008 and 2007 , respectively . note 18 . commitments at december 31 , 2009 , the company had the following future minimum payments due under non-cancelable agreements : capital leases operating leases sponsorship , licensing & .

Table:
 | total | capital leases | operating leases | sponsorship licensing & other
2010 | $ 283987 | $ 7260 | $ 25978 | $ 250749
2011 | 146147 | 4455 | 17710 | 123982
2012 | 108377 | 3221 | 15358 | 89798
2013 | 59947 | 36838 | 10281 | 12828
2014 | 13998 | 2014 | 8371 | 5627
thereafter | 25579 | 2014 | 22859 | 2720
total | $ 638035 | $ 51774 | $ 100557 | $ 485704
included in the table above are capital leases with imputed interest expense of $ 7929 and a net present value of minimum lease payments of $ 43845 .
in addition , at december 31 , 2009 , $ 63616 of the future minimum payments in the table above for leases , sponsorship , licensing and other agreements was accrued .
consolidated rental expense for the company 2019s office space , which is recognized on a straight line basis over the life of the lease , was approximately $ 39586 , $ 42905 and $ 35614 for the years ended december 31 , 2009 , 2008 and 2007 , respectively .
consolidated lease expense for automobiles , computer equipment and office equipment was $ 9137 , $ 7694 and $ 7679 for the years ended december 31 , 2009 , 2008 and 2007 , respectively .
in january 2003 , mastercard purchased a building in kansas city , missouri for approximately $ 23572 .
the building is a co-processing data center which replaced a back-up data center in lake success , new york .
during 2003 , mastercard entered into agreements with the city of kansas city for ( i ) the sale-leaseback of the building and related equipment which totaled $ 36382 and ( ii ) the purchase of municipal bonds for the same amount .

Question: what was the average rental expense from 2007 to 2009
Answer: 39368
Calculation: add(39586, 42905), add(#0, 35614), add(#1, const_3), divide(#2, const_2)