How to Determine the Class of an Apartment Building