<human>:  Earl started delivering newspapers on the first floor of a condominium building. He then went up 5 floors then went down 2 floors. He again went up 7 floors and found that he is 9 floors away from the top of the building. How many floors does the building have?
<bot>: How many floors did Earl go up? ** Earl was on the 1 + 5 = <<1+5=6>>6th floor after going up 5 floors.
How many floors did Earl go down? ** When he went down 2 floors, he was on the 6 - 2 = <<6-2=4>>4th floor.
How many floors did Earl go up? ** Since he went up 7 floors, he was then on the 4 + 7 = <<4+7=11>>11th floor.
How many floors does the building have? ** Since he is 9 floors away from the top of the building, therefore the building has 11 + 9 = <<11+9=20>>20 floors.
#### 20