def get_end_year(season):
    """
    Returns the end year given a season in YYYY-YY format
    """
    second_part = season.split("-")[1]
    first_part = "20" if second_part == "00" else season.split("-")[0][:2]
    year = f"{first_part}{second_part}"
    return int(year)