BASIS OF PRESENTATION AND SIGNIFICANT ACCOUNTING POLICIES BASIS OF PRESENTATION AND SIGNIFICANT ACCOUNTING POLICIES - IMPACT OF ASU 2016-18 (Details) - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2018
Apr. 30, 2017
New Accounting Pronouncements or Change in Accounting Principle [Line Items]    
Net Cash Provided by Operating Activities   $ 59,761
Net Cash Used in Investing Activities   (21,975)
Net Cash Used in Financing Activities   (3,583)
Effect of Exchange Rate on Cash and Cash Equivalents, Continuing Operations   (1,334)
Net increase in cash, cash equivalents, restricted cash and restricted cash equivalents $ 42,588 32,869
Cash, cash equivalents, restricted cash and restricted cash equivalents - beginning of period 398,210 369,329
Cash, cash equivalents, restricted cash and restricted cash equivalents - end of period $ 440,798 402,198
Scenario, Previously Reported    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]    
Net Cash Provided by Operating Activities   59,761
Net Cash Used in Investing Activities   (22,118)
Net Cash Used in Financing Activities   (3,583)
Effect of Exchange Rate on Cash and Cash Equivalents, Continuing Operations   (1,332)
Net increase in cash, cash equivalents, restricted cash and restricted cash equivalents   32,728
Cash, cash equivalents, restricted cash and restricted cash equivalents - beginning of period   307,363
Cash, cash equivalents, restricted cash and restricted cash equivalents - end of period   340,091
Accounting Standards Update 2016-18    
New Accounting Pronouncements or Change in Accounting Principle [Line Items]    
Net Cash Provided by Operating Activities   0
Net Cash Used in Investing Activities   143
Net Cash Used in Financing Activities   0
Effect of Exchange Rate on Cash and Cash Equivalents, Continuing Operations   (2)
Net increase in cash, cash equivalents, restricted cash and restricted cash equivalents   141
Cash, cash equivalents, restricted cash and restricted cash equivalents - beginning of period   61,966
Cash, cash equivalents, restricted cash and restricted cash equivalents - end of period   $ 62,107