def annual_edition_for(title, notice):
    """Annual editions are published for different titles at different
    points throughout the year. Find the 'next' annual edition"""
    if title <= 16:
        month = '01'
    elif title <= 27:
        month = '04'
    elif title <= 41:
        month = '07'
    else:
        month = '10'

    notice_year = int(notice['effective_on'][:4])
    if notice['effective_on'] <= '%d-%s-01' % (notice_year, month):
        return notice_year
    else:
        return notice_year + 1