
    Design a student risk assessment system that evaluates the cumulative severity of academic concerns across multiple intervention thresholds. Starting with an initial risk score derived from attendance, grades, and engagement metrics, the system needs to calculate the total impact across all risk levels by analyzing the score at regular intervals. The assessment should sum up the risk values at each checkpoint, where checkpoints are spaced two points apart, beginning from the initial score and continuing until reaching a zero-risk threshold. This cumulative risk calculation helps determine the overall intervention resources needed and identifies the total number of checkpoints where student support may be required. The system should work with any valid initial risk score to provide a comprehensive view of the student's academic standing across all relevant risk thresholds.
    

    
def sum_series(n):
    """
    Design a student risk assessment system that evaluates the cumulative severity of academic concerns across multiple intervention thresholds. Starting with an initial risk score derived from attendance, grades, and engagement metrics, the system needs to calculate the total impact across all risk levels by analyzing the score at regular intervals. The assessment should sum up the risk values at each checkpoint, where checkpoints are spaced two points apart, beginning from the initial score and continuing until reaching a zero-risk threshold. This cumulative risk calculation helps determine the overall intervention resources needed and identifies the total number of checkpoints where student support may be required. The system should work with any valid initial risk score to provide a comprehensive view of the student's academic standing across all relevant risk thresholds.
    

    """
def sum_series(n):
    """
    Design a student risk assessment system that evaluates the cumulative severity of academic concerns across multiple intervention thresholds. Starting with an initial risk score derived from attendance, grades, and engagement metrics, the system needs to calculate the total impact across all risk levels by analyzing the score at regular intervals. The assessment should sum up the risk values at each checkpoint, where checkpoints are spaced two points apart, beginning from the initial score and continuing until reaching a zero-risk threshold. This cumulative risk calculation helps determine the overall intervention resources needed and identifies the total number of checkpoints where student support may be required. The system should work with any valid initial risk score to provide a comprehensive view of the student's academic standing across all relevant risk thresholds.
    

    """
    if n < 1:
        return 0
    else:
        return n + sum_series(n - 2)