A firefighter stood on the middle rung of a ladder, spraying water on a fire. the smoke lessened, so she moved up 3 rungs. it got too hot, so she backed down 5 rungs. later, she went up 7 rungs and stayed until the fire was out. then, she climbed the remaining 4 rungs and went into the building. how many rungs does the ladder have?