Juan got on an elevator at the middle floor of a building, went up 4 floors, down 3 floors, up 1 floor, and down 9 floors, where he left the elevator on the ground floor. How many floors are in the building?