STOCKHOLDERS' EQUITY - TREASURY STOCK (Details) - USD ($) $ in Thousands |
3 Months Ended | ||
|---|---|---|---|
Apr. 30, 2018 |
Apr. 30, 2017 |
Jan. 31, 2018 |
|
| Stockholders' Equity Note [Abstract] | |||
| Treasury stock aquired (in shares) | 4,000 | 0 | |
| Treasury stock acquired (in dollars) | $ 173 | $ 0 | |
| Treasury stock, (in shares) | 1,665,000 | 1,661,000 | |
| Treasury stock (in dollars) | $ 57,598 | $ 57,425 | |