The foot of an extension ladder is 3 ft from a wall. The height that the ladder reaches on the wall and the length of the ladder are consecutive integers. How long is the​ ladder?