XML 68 R53.htm IDEA: XBRL DOCUMENT v3.8.0.1
Dividends and earnings per share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 12 Months Ended
Oct. 31, 2017
Jul. 31, 2017
Apr. 30, 2017
Jan. 31, 2017
Oct. 31, 2016
Jul. 31, 2016
Apr. 30, 2016
Jan. 31, 2016
Oct. 31, 2017
Oct. 31, 2016
Oct. 31, 2015
Earnings Per Share [Abstract]                      
Dividends declared (amount)                 $ 1,024 $ 8,152 $ 8,130
Dividends declared per share $ 0.15 $ 0.30 $ 0.30 $ 0.30 $ 0.30 $ 0.15 $ 1.20 $ 1.20
Increase in average dilutive shares outstanding                   1,627