Table:
|  |  |  | Year Ended December 31, 2018 |  |  |
| --- | --- | --- | --- | --- | --- |
|  | First<br>Quarter | Second<br>Quarter | Third Quarter | Fourth<br>Quarter | Total |
| Total revenue | $85,326 | $105,704 | $113,912 | $109,731 | $414,673 |
| Cost of revenue (exclusive of depreciation<br>and amortization) | 36,130 | 33,765 | 35,374 | 55,170 | 160,439 |
| Total costs and expenses | 61,749 | 58,896 | 59,655 | 81,583 | 261,883 |
| Operating profit | 23,577 | 46,808 | 54,257 | 28,148 | 152,790 |
| Total other income (expense), net | (4,973) | (4,398) | (5,170) | (4,735) | (19,276) |
| Income before income tax expense (benefit) | 18,604 | 42,410 | 49,087 | 23,413 | 133,514 |
| Net income | 18,604 | 40,816 | 45,712 | 22,848 | 127,980 |
| Less: Net income attributable to<br>noncontrolling interests | 18,604 | 35,266 | 33,711 | 16,143 | 103,724 |
| Net income attributable to GreenSky, Inc. | N/A | 5,550 | 12,001 | 6,705 | 24,256 |
| Earnings per share of Class A common stock: |  |  |  |  |  |
| Basic | N/A | $0.10 | $0.21 | $0.12 | $0.43 |
| Diluted(1) | N/A | $0.09 | $0.20 | $0.11 | $0.41 |
Paragraphs:
GreenSky, Inc. NOTES TO CONSOLIDATED FINANCIAL STATEMENTS — (Continued) (United States Dollars in thousands, except per share data, unless otherwise stated)
Note 18. Quarterly Consolidated Results of Operations Data (Unaudited)
The following table sets forth our quarterly consolidated results of operations data for each of the eight quarters in the period ended December 31, 2019. GS Holdings is our predecessor for accounting purposes and, accordingly, amounts prior to the Reorganization Transactions and IPO represent the historical consolidated operations of GS Holdings and its subsidiaries. The amounts during the period from May 24, 2018 through December 31, 2018 represent those of consolidated GreenSky, Inc. and its subsidiaries. Basic and diluted earnings per share of Class A common stock is applicable only for the period from May 24, 2018 through December 31, 2018, which is the period following the Reorganization Transactions and IPO. Prior to the Reorganization Transactions and IPO, GreenSky, Inc. did not engage in any business or other activities except in connection with its formation and initial capitalization. See Note 1 for further information on our organization and see Note 2 for further information on our earnings per share.
(1) Year-to-date results may not agree to the sum of individual quarterly results due to rounding.
Question:
What was the total costs and expenses?
Answer: 261,883