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