An elevator is on the 9th floor. It goes down 7 floors, then up 3 floors, then up 8 floors. If the elevator is on the top floor, how many floors are there in the building?