One leg of a right triangle has a length of 7m. The other sides have lengths that are consecutive integers. Find these lengths.