Please answer the given financial question based on the context.
Context: |(in thousands of U.S. dollars)|Year Ended December 31, 2018|Year Ended December 31, 2017|
|Net loss|$(265,511)|$(164,787)|
|Adjustments to reconcile net loss to net cash provided by operating activities:|||
|Depreciation and amortization|102,839|104,112|
|Amortization and write-off of deferred financing costs|7,880|6,391|
|Amortization of deferred drydock and special survey costs|13,828|14,727|
|Provision for losses on accounts receivable|575|269|
|Share based compensation|4,556|4,296|
|Gain on bond and debt extinguishment|(6,464)|(185)|
|Bargain gain upon obtaining control|(58,313)|—|
|Income tax benefit|(1,108)|(3,192)|
|Impairment losses|200,657|50,565|
|Gain on sale of assets|(894)|(1,064)|
|Loss/(equity) in affiliates, net of dividends received|84,317|4,610|
|Net income adjusted for non-cash items|$82,362|$15,742|
Cash provided by operating activities for the year ended December 31, 2018 as compared to the year ended December 31, 2017:
Net cash provided by operating activities increased by $7.5 million to $55.6 million for the year ended December 31, 2018, as compared to $48.1 million for the year ended December 31, 2017. In determining net cash provided by operating activities, net loss is adjusted for the effects of certain non-cash items, which may be analyzed in detail as follows:
Question: What was the amount of Depreciation and amortization in 2018?
Answer:
102,839