A firefighter climbed up to the middle of a ladder to see if there was any fire on the second floor of a building and there was none; he then climbed up 10 more steps and saw some smoke so he came back down 14 steps and waited for 5 seconds to check his equipment. He then climbed 20 steps all the way to the top of the ladder and got off on the roof. How many steps are there on the ladder?