
    Given a list of patient medication adherence scores where decimals represent partial doses taken, create a function that rounds each adherence score to the nearest whole number and calculates the facility's overall compliance score by multiplying the sum of rounded scores with the total number of monitored patients. This standardized metric helps healthcare providers quickly assess and compare medication adherence patterns across their patient population.
    

    
def round_and_sum(list1):
    """
    Given a list of patient medication adherence scores where decimals represent partial doses taken, create a function that rounds each adherence score to the nearest whole number and calculates the facility's overall compliance score by multiplying the sum of rounded scores with the total number of monitored patients. This standardized metric helps healthcare providers quickly assess and compare medication adherence patterns across their patient population.
    

    """
def round_and_sum(list1):
    """
    Given a list of patient medication adherence scores where decimals represent partial doses taken, create a function that rounds each adherence score to the nearest whole number and calculates the facility's overall compliance score by multiplying the sum of rounded scores with the total number of monitored patients. This standardized metric helps healthcare providers quickly assess and compare medication adherence patterns across their patient population.
    

    """
    lenght = len(list1)
    round_and_sum = sum(list(map(round, list1)) * lenght)
    return round_and_sum