Find a number which being divided by 39 gives a remainder 16, and by 56 a remainder 27.
A number when divided by 61 gives 27 a quotient and 32 as remainder. Find the number.