by what number should 1365 be divided to get 31 as quotients and 32 as remainder?