The lengths of the sides of a triangle are consecutive odd integers. The perimeter of the triangle is 249cm. Find the lengths of the sides.