
    Write a function that calculates the total weighted impact score for emergency room staffing by summing the squares of visit volumes from the first n high-traffic periods (odd-numbered periods only). The result will help determine optimal staff allocation for future high-volume periods based on historical patterns.
    

    
def square_Sum(n):
    """
    Write a function that calculates the total weighted impact score for emergency room staffing by summing the squares of visit volumes from the first n high-traffic periods (odd-numbered periods only). The result will help determine optimal staff allocation for future high-volume periods based on historical patterns.
    

    """
def square_Sum(n):
    """
    Write a function that calculates the total weighted impact score for emergency room staffing by summing the squares of visit volumes from the first n high-traffic periods (odd-numbered periods only). The result will help determine optimal staff allocation for future high-volume periods based on historical patterns.
    

    """
    return int(n * (4 * n * n - 1) / 3)