
    Design a content moderation priority scoring system that calculates the total workload score for a batch of flagged posts. Given a batch of n flagged posts, the system assigns descending priority levels starting from n and decreasing by 2 for each subsequent tier until reaching zero or a negative value. Each post's priority score equals its tier level, and the system needs to calculate the sum of all priority scores across tiers. For example, if there are 5 flagged posts, the priority tiers would be 5, 3, 1, and the total workload score would be the sum of these values. This scoring system helps in resource allocation and workload assessment for the moderation team.
    

    
def sum_series(n):
    """
    Design a content moderation priority scoring system that calculates the total workload score for a batch of flagged posts. Given a batch of n flagged posts, the system assigns descending priority levels starting from n and decreasing by 2 for each subsequent tier until reaching zero or a negative value. Each post's priority score equals its tier level, and the system needs to calculate the sum of all priority scores across tiers. For example, if there are 5 flagged posts, the priority tiers would be 5, 3, 1, and the total workload score would be the sum of these values. This scoring system helps in resource allocation and workload assessment for the moderation team.
    

    """
def sum_series(n):
    """
    Design a content moderation priority scoring system that calculates the total workload score for a batch of flagged posts. Given a batch of n flagged posts, the system assigns descending priority levels starting from n and decreasing by 2 for each subsequent tier until reaching zero or a negative value. Each post's priority score equals its tier level, and the system needs to calculate the sum of all priority scores across tiers. For example, if there are 5 flagged posts, the priority tiers would be 5, 3, 1, and the total workload score would be the sum of these values. This scoring system helps in resource allocation and workload assessment for the moderation team.
    

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