STOCKHOLDERS' EQUITY STOCKHOLDERS' EQUITY - DIVIDENDS ON COMMON STOCK (Details) - USD ($)
3 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Stockholders' Equity Note [Abstract]    
Dividends on common stock $ 0 $ 0
Treasury stock aquired (in shares) 4,000 0
Treasury stock acquired (in dollars) $ 173,000 $ 0