Table:
|  | Year Ended |  |  |
| --- | --- | --- | --- |
|  | June 30, 2019 | June 30, 2018 | June 30, 2017 |
| Domestic | $22,330 | $(55,197) | $(7,228) |
| Foreign | (48,204) | 8,550 | 9,824 |
| Total | $(25,874) | $(46,647) | $2,596 |
Paragraphs:
15. Income Taxes
Income before income taxes is as follows (in thousands):
Question:
What was the total income in 2017?