from datetime import datetime


def generate_birthdays(birthdays: list, year_to_generate: int):
    """
    generate birthdays from lists
    :param birthdays:
    :param year_to_generate: how many year from this year to add to the event
    :return:
    """
    this_year = datetime.now().year
    event_list = []
    for birthday in birthdays:
        for year in range(this_year, this_year + year_to_generate):
            date = birthday.in_year(year)
            event_list.append([birthday, date])
    return event_list