Please answer the given financial question based on the context.
Context: notes to consolidated financial statements guarantees of subsidiaries . group inc . fully and unconditionally guarantees the securities issued by gs finance corp. , a wholly-owned finance subsidiary of the group inc . has guaranteed the payment obligations of goldman , sachs & co . ( gs&co. ) , gs bank usa and goldman sachs execution & clearing , l.p . ( gsec ) , subject to certain exceptions . in november 2008 , the firm contributed subsidiaries into gs bank usa , and group inc . agreed to guarantee the reimbursement of certain losses , including credit-related losses , relating to assets held by the contributed entities . in connection with this guarantee , group inc . also agreed to pledge to gs bank usa certain collateral , including interests in subsidiaries and other illiquid assets . in addition , group inc . guarantees many of the obligations of its other consolidated subsidiaries on a transaction-by- transaction basis , as negotiated with counterparties . group inc . is unable to develop an estimate of the maximum payout under its subsidiary guarantees ; however , because these guaranteed obligations are also obligations of consolidated subsidiaries , group inc . 2019s liabilities as guarantor are not separately disclosed . note 19 . shareholders 2019 equity common equity dividends declared per common share were $ 2.25 in 2014 , $ 2.05 in 2013 and $ 1.77 in 2012 . on january 15 , 2015 , group inc . declared a dividend of $ 0.60 per common share to be paid on march 30 , 2015 to common shareholders of record on march 2 , 2015 . the firm 2019s share repurchase program is intended to help maintain the appropriate level of common equity . the share repurchase program is effected primarily through regular open-market purchases ( which may include repurchase plans designed to comply with rule 10b5-1 ) , the amounts and timing of which are determined primarily by the firm 2019s current and projected capital position , but which may also be influenced by general market conditions and the prevailing price and trading volumes of the firm 2019s common stock . prior to repurchasing common stock , the firm must receive confirmation that the federal reserve board does not object to such capital actions . the table below presents the amount of common stock repurchased by the firm under the share repurchase program during 2014 , 2013 and 2012. .
|in millions except per share amounts|year ended december 2014|year ended december 2013|year ended december 2012|
|common share repurchases|31.8|39.3|42.0|
|average cost per share|$ 171.79|$ 157.11|$ 110.31|
|total cost of common share repurchases|$ 5469|$ 6175|$ 4637|
total cost of common share repurchases $ 5469 $ 6175 $ 4637 pursuant to the terms of certain share-based compensation plans , employees may remit shares to the firm or the firm may cancel restricted stock units ( rsus ) or stock options to satisfy minimum statutory employee tax withholding requirements and the exercise price of stock options . under these plans , during 2014 , 2013 and 2012 , employees remitted 174489 shares , 161211 shares and 33477 shares with a total value of $ 31 million , $ 25 million and $ 3 million , and the firm cancelled 5.8 million , 4.0 million and 12.7 million of rsus with a total value of $ 974 million , $ 599 million and $ 1.44 billion . under these plans , the firm also cancelled 15.6 million stock options with a total value of $ 2.65 billion during 2014 . 170 goldman sachs 2014 annual report .
Question: in millions for 2014 2013 and 2012 , what was the greatest amount of common share repurchases?


Answer: The answer is:42.0