def METHOD_NAME(grade, f_name, l_name):
    grad_year = str(SENIOR_GRAD_YEAR + 12 - int(grade))
    if len(l_name) < USERNAME_LAST_LENGTH:
        last_string = l_name
    else:
        last_string = l_name[:7]
    return "{}{}{}".format(grad_year, f_name[:1], last_string).lower()