def METHOD_NAME(logs):
    """Given notarization logs, find and return the submission id
    Args:
        logs (list<str>): Notarization logs
    Returns:
        (str) The submission id
    """
    ids = set()
    for line in logs:
        if "created submission ID: " in line:
            ids.add(line.split(": ")[-1])
    if len(ids) > 1:
        log.error(f"Submission ids: {str(ids)}")
        raise RCodesignError("More than one submission id found in the logs")
    return ids.pop()