By what number should be 1365 be divided to get 31 as quotient and 32 as remainder?