While extinguishing a fire that has caught a mansion, the firefighter is standing on the middlemost rung of the ladder. In order to reach at a better position, he climbs 6 rungs but due to the devious flames, he has to climb down 10 rungs back. When the fire calms down a little, he climbs 18 rungs to reach the top rung.
How many rungs did the ladder have?  Choose the correct choice from the following options
A) 29	B) 33	C) 21	D) 45	E) 41
A   29 rungs.   Since he is standing on the middle rung in the beginning,   Let the middle rung be x   He climbs 6 rungs first and then climbs down rungs and again climbs 18 rungs to reach the top.   Thus the position is now,   X+6-10+18 = x + 14.   This position is on the top rung.   Thus the ladder has 14 rungs above the middle rung and also it must be having 14 rungs down the middle point as well.   14+14+1= 
<gadget id="calculator">14+14+1</gadget>
<output>29</output>
29.   Thus there are total 29 rungs in the ladder.
<result>A</result>
While extinguishing a fire that has caught a mansion, the firefighter is standing on the middlemost rung of the ladder. In order to reach at a better position, he climbs 6 rungs but due to the devious flames, he has to climb down 10 rungs back. When the fire calms down a little, he climbs 18 rungs to reach the top rung.
How many rungs did the ladder have?