Condensed Consolidated Statements of Cash Flows - USD ($) $ in Thousands |
9 Months Ended |
May 31, 2016 |
May 31, 2015 |
| Operating activities: |
|
|
| Net (loss) income |
$ (105,464)
|
$ 43,771
|
| Adjustments to reconcile net (loss) income to net cash provided by operating activities: |
|
|
| Share-based compensation |
27,318
|
29,768
|
| Excess tax benefits from share-based compensation |
0
|
(236)
|
| Depreciation and amortization |
82,478
|
101,779
|
| Accelerated depreciation included in restructuring |
12,262
|
7,207
|
| Impairment charges and loss on asset dispositions |
(76,470)
|
(22,228)
|
| Non-cash foreign currency loss, net |
492
|
1,722
|
| Provision for uncollectible accounts receivable |
43,812
|
42,372
|
| Deferred income taxes |
(6,175)
|
(12,471)
|
| Changes in assets and liabilities, excluding the impact of acquisitions: |
|
|
| Restricted cash and cash equivalents |
13,567
|
5,529
|
| Accounts receivable |
(37,296)
|
(51,555)
|
| Prepaid taxes |
8,104
|
21,038
|
| Other assets |
(684)
|
(1,974)
|
| Accounts payable |
(8,872)
|
7,753
|
| Student deposits |
(32,002)
|
(25,918)
|
| Deferred revenue |
(28,564)
|
22,677
|
| Accrued and other liabilities |
(35,813)
|
(89,987)
|
| Net cash provided by operating activities |
9,633
|
123,703
|
| Investing activities: |
|
|
| Purchases of property and equipment |
(51,414)
|
(74,254)
|
| Purchases of marketable securities |
(203,504)
|
(156,465)
|
| Maturities and sales of marketable securities |
208,360
|
156,337
|
| Acquisitions, net of cash acquired |
101,196
|
21,166
|
| Other investing activities |
(727)
|
(14,216)
|
| Net cash used in investing activities |
(148,481)
|
(109,764)
|
| Financing activities: |
|
|
| Payments on borrowings |
(63,785)
|
(605,214)
|
| Proceeds from borrowings |
56,961
|
4,515
|
| Share repurchases |
(732)
|
(40,700)
|
| Share reissuances |
638
|
995
|
| Excess tax benefits from share-based compensation |
0
|
(236)
|
| Payment for contingent consideration |
0
|
(21,371)
|
| Net cash used in financing activities |
(6,918)
|
(661,539)
|
| Exchange rate effect on cash and cash equivalents |
3,587
|
(3,991)
|
| Net decrease in cash and cash equivalents |
(142,179)
|
(651,591)
|
| Cash and cash equivalents, beginning of period |
503,705
|
1,228,813
|
| Cash and cash equivalents, end of period |
361,526
|
577,222
|
| Supplemental disclosure of cash flow and non-cash information: |
|
|
| Cash paid for income taxes, net of refunds |
1,144
|
36,545
|
| Cash paid for interest |
5,081
|
5,134
|
| Restricted stock units vested and released |
$ 2,083
|
$ 7,407
|