Read the following texts and table with financial data from an S&P 500 earnings report carefully.Based on the question-answer history (if provided), answer the last question. The answer may require mathematical calculation based on the data provided.


hologic , inc . notes to consolidated financial statements ( continued ) ( in thousands , except per share data ) restructuring accrual as a result of the cytyc merger , the company assumed previous cytyc management approved restructuring plans designed to reduce future operating expenses by consolidating its mountain view , california operations into its existing operations in costa rica and massachusetts as well as restructuring plans relating to cytyc 2019s historical acquisitions completed in march 2007 . in connection with these plans , the company assumed a total liability of approximately $ 4658 . during the twelve months ended september 27 , 2008 , the company did not incur any additional restructuring costs related to retention costs for these employees . as a result of the third wave acquisition , the company assumed previous third wave management approved restructuring plans designed to reduce future operating expenses . in connection with these plans , the company assumed a total liability related to termination benefits of approximately $ 7509 . the company did not incur any additional restructuring costs related to retention costs for these employees from the date of acquisition through september 27 , 2008 . we anticipate that these costs will be paid in full during fiscal 2009 . additionally , the company recorded a liability related to the cytyc merger in accordance with eitf 95-3 as detailed below , primarily related to the termination of certain employees as well as minimum inventory purchase commitments and other contractual obligations for which business activities have been discontinued . during the twelve months ended september 27 , 2008 the company incurred approximately $ 6.4 million of expense related to the resignation of the chairman of the board of directors , which is not included in the table below ( see note 12 ) . changes in the restructuring accrual for the twelve months ended september 27 , 2008 were as follows : twelve months ended september 27 , 2008 termination benefits . <table class='wikitable'><tr><td>1</td><td>other</td><td>twelve months ended september 27 2008 other</td><td>twelve months ended september 27 2008</td></tr><tr><td>2</td><td>beginning balance</td><td>$ 2014</td><td>$ 105</td></tr><tr><td>3</td><td>cytyc balance acquired october 22 2007</td><td>2014</td><td>4658</td></tr><tr><td>4</td><td>third wave balance acquired july 24 2008</td><td>261</td><td>7029</td></tr><tr><td>5</td><td>provided for under eitf no . 95-3</td><td>1820</td><td>1020</td></tr><tr><td>6</td><td>adjustments</td><td>-382 ( 382 )</td><td>-270 ( 270 )</td></tr><tr><td>7</td><td>payments</td><td>-817 ( 817 )</td><td>-11233 ( 11233 )</td></tr><tr><td>8</td><td>ending balance</td><td>$ 882</td><td>$ 1309</td></tr></table> as of the dates of acquisition of aeg elektrofotografie gmbh ( 201caeg 201d ) , r2 technology , inc . ( 201cr2 201d ) and suros surgical , inc . ( 201csuros 201d ) ( see note 3 ) , management of the company implemented and finalized plans to involuntarily terminate certain employees of the acquired companies . these plans resulted in a liability for costs associated with an employee severance arrangement of approximately $ 3135 in accordance with eitf issue no . 95-3 , recognition of liabilities in connection with a purchase business combination . as of september 29 , 2007 , all amounts other than $ 105 had been paid . the company had made full payment on this remaining liability as of september 27 , 2008 . advertising costs advertising costs are charged to operations as incurred . the company does not have any direct-response advertising . advertising costs , which include trade shows and conventions , were approximately $ 15281 , $ 6683 and $ 5003 for fiscal 2008 , 2007 and 2006 , respectively , and were included in selling and marketing expense in the consolidated statements of operations. .
Question: what was the total of advertising costs in 2007?

6683.0