def assign_year(month, cycle):
    """Returns the proper year of a date given the month and cycle."""
    if int(month) >= 6:
        return str(int(cycle) - 1)
    else:
        return str(int(cycle))