CONSOLIDATED CASH FLOWS STATEMENTS - USD ($)
$ in Thousands
3 Months Ended
Nov. 30, 2016
Nov. 30, 2015
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net income $ 1,059,749 $ 868,681
Adjustments to reconcile Net income to Net cash provided by operating activities —    
Depreciation, amortization and asset impairments 187,433 181,882
Share-based compensation expense 149,796 129,183
Deferred income taxes, net (86,013) (19,850)
Other, net (141,184) (78,868)
Change in assets and liabilities, net of acquisitions —    
Receivables from clients, net (279,151) (244,126)
Unbilled services, current and non-current, net (64,113) (135,917)
Other current and non-current assets (71,564) (224,933)
Accounts payable (103,390) (64,504)
Deferred revenues, current and non-current (207,437) (127,712)
Accrued payroll and related benefits 488,615 418,471
Income taxes payable, current and non-current 86,551 (122,926)
Other current and non-current liabilities 64,590 63,876
Net cash provided by (used in) operating activities 1,083,882 643,257
CASH FLOWS FROM INVESTING ACTIVITIES:    
Proceeds from sales of property and equipment 1,238 951
Purchases of property and equipment (84,553) (94,777)
Purchases of businesses and investments, net of cash acquired (599,107) (612,666)
Proceeds from the sale of businesses and investments, net of cash transferred (7,200) 0
Net cash provided by (used in) investing activities (689,622) (706,492)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Proceeds from issuance of ordinary shares 212,711 182,285
Purchases of shares (587,935) (657,811)
Proceeds from (repayments of) long-term debt, net 138 219
Cash dividends paid (785,127) (720,676)
Other, net (2,562) (2)
Net cash provided by (used in) financing activities (1,162,775) (1,195,985)
Effect of exchange rate changes on cash and cash equivalents (60,036) (28,353)
NET INCREASE (DECREASE) IN CASH AND CASH EQUIVALENTS (828,551) (1,287,573)
CASH AND CASH EQUIVALENTS, beginning of period 4,905,609 4,360,766
CASH AND CASH EQUIVALENTS, end of period $ 4,077,058 $ 3,073,193