Find three consecutive odd integers such that the sum of the first and third equals the sum of the second and 31.