Table:
|  |  | Years Ended December 31, |  |
| --- | --- | --- | --- |
|  | 2019 | 2018 | 2017 |
| Domestic | $(20,597) | $22,325 | $29,088 |
| Foreign | 87,791 | 150,051 | 169,103 |
| Total | $67,194 | $172,376 | $198,191 |
Paragraphs:
ADVANCED ENERGY INDUSTRIES, INC. NOTES TO CONSOLIDATED FINANCIAL STATEMENTS – (continued) (in thousands, except per share amounts)
NOTE 5. INCOME TAXES
The geographic distribution of pretax income from continuing operations is as follows:
Question:
What was the domestic pretax income in 2019?