
    Given a patient's composite health risk score, determine the highest potential readmission risk by evaluating whether the current aggregate score is more critical than the combined effects of its subdivided risk pathways. The risk pathway calculation splits the composite score into four weighted components (half, third, fourth, and fifth of the original score) that represent different combinations of health indicators, and the function must return the maximum between the current score and the sum of these subdivided risk assessments.
    

    
def get_max_sum(n):
    """
    Given a patient's composite health risk score, determine the highest potential readmission risk by evaluating whether the current aggregate score is more critical than the combined effects of its subdivided risk pathways. The risk pathway calculation splits the composite score into four weighted components (half, third, fourth, and fifth of the original score) that represent different combinations of health indicators, and the function must return the maximum between the current score and the sum of these subdivided risk assessments.
    

    """
def get_max_sum(n):
    """
    Given a patient's composite health risk score, determine the highest potential readmission risk by evaluating whether the current aggregate score is more critical than the combined effects of its subdivided risk pathways. The risk pathway calculation splits the composite score into four weighted components (half, third, fourth, and fifth of the original score) that represent different combinations of health indicators, and the function must return the maximum between the current score and the sum of these subdivided risk assessments.
    

    """
    res = list()
    res.append(0)
    res.append(1)
    i = 2
    while i < n + 1:
        res.append(max(i, res[int(i / 2)] + res[int(i / 3)] + res[int(i / 4)] + res[int(i / 5)]))
        i = i + 1
    return res[n]