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