Kathy stood on the middle rung of a ladder. She climbed up 3 ​rungs, moved down 4 ​rungs, and then climbed up 8 rungs. Then she climbed up the remaining 2 rungs to the top of the ladder. How many rungs are there in the whole​ ladder?