import io
import zipfile


def extract_zip(data):
    """
    Extract ZIP data from file data and return extracted data for first file found
    :param data: bytes representing archive (zip) data
    :returns: extracted data for first file found
    """
    file_obj = io.BytesIO(data)
    zip_file = zipfile.ZipFile(file_obj)
    for filename in zip_file.infolist():
        data = zip_file.read(filename)
        return data