Table:
|  |  |  | Fiscal Year Ended August 31, |  |
| --- | --- | --- | --- | --- |
| Comprehensive Income Components | Financial Statement Line Item | 2019 | 2018 | 2017 |
| Foreign currency translation adjustment | Operating income | $— | $— | $5,947 |
| Realized losses (gains) on derivative instruments:(3) |  |  |  |  |
| Foreign exchange contracts | Cost of revenue | 21,982 | (9,379) | 4,799 |
| Interest rate contracts | Interest expense | (1,723) | (13,697) | 3,950 |
| Actuarial loss | (1) | 741 | 1,127 | 1,929 |
| Prior service credit | (1) | (44) | (88) | (138) |
| Available for sale securities | (2) | 33,333 | — | 10,139 |
| Total amounts reclassified from AOCI(4) |  | $54,289 | $(22,037) | $26,626 |
Paragraphs:
Accumulated Other Comprehensive Income
The following table sets forth the amounts reclassified from AOCI into the Consolidated Statements of Operations, and the associated financial statement line item, net of tax, for the periods indicated (in thousands):
(1) Amounts are included in the computation of net periodic benefit pension cost. Refer to Note 9 – “Postretirement and Other Employee Benefits” for additional information.
(2) The portions of AOCI reclassified into earnings during the fiscal years ended August 31, 2019 and 2017 for available for sale securities were due to a restructuring of securities loss and an other than temporary impairments on securities, respectively, and were recorded to restructuring of securities loss and other expense, respectively.
(3) The Company expects to reclassify $17.0 million into earnings during the next twelve months, which will primarily be classified as a component of cost of revenue.
(4) Amounts are net of tax, which are immaterial for the fiscal years ended August 31, 2019 and 2017. The amount for the fiscal year ended August 31, 2018 includes a reduction to income tax expense related to derivative instruments of $14.8 million.
Question:
What were the Foreign exchange contracts in 2019?
Answer: 21,982