def parse_facility(soup):
    """Parse facility data from soup

    Arguments:
        soup: the soup object to parse from

    Returns:
        result (tuple): list of available facility and unavailable facility
    """

    facilities = []
    no_facilities = []

    facilityList = soup.select("ul.facility.clearfix")[0]
    for facility in facilityList.findChildren("li"):
        if "no" in facility.span["class"]:
            no_facilities.append(facility.getText())
        else:
            facilities.append(facility.getText())

    return (facilities, no_facilities)