def checkBuildingType(line):
    """Checks if the building type is a house, or if the item is being bought or sold"""
    if " is buying " in line:
        return "buy"
    elif " is selling " in line:
        return "sell"
    else:
        return "house"