Table:
|  | EMS | DMS | Total |
| --- | --- | --- | --- |
| Balance as of August 31, 2017 | $52,574 | $555,610 | $608,184 |
| Acquisitions and adjustments(1) | 30,763 | (8,186) | 22,577 |
| Change in foreign currency exchange rates | (667) | (2,349) | (3,016) |
| Balance as of August 31, 2018 | 82,670 | 545,075 | 627,745 |
| Change in foreign currency exchange rates | (702) | (4,788) | (5,490) |
| Balance as of August 31, 2019 | $81,968 | $540,287 | $622,255 |
Paragraphs:
6. Goodwill and Other Intangible Assets
The Company completed its annual impairment test for goodwill and indefinite-lived intangible assets during the fourth quarter of fiscal year 2019 and determined the fair values of the reporting units and the indefinite-lived intangible assets were in excess of the carrying values and that no impairment existed as of the date of the impairment test.
The following table presents the changes in goodwill allocated to the Company’s reportable segments, Electronics Manufacturing Services (“EMS”) and Diversified Manufacturing Services (“DMS”), during the fiscal years ended August 31, 2019 and 2018 (in thousands):
(1) Includes $8.2 million of goodwill reallocated between DMS and EMS during fiscal year 2018.
Question:
What was the Balance as of August 31, 2017 in EMS?
Answer: $52,574