def mean_list(list1, N):
    """ Helper function calculates mean and returns list of N means
    """
    ave = 0
    for i in list1:
        ave += i
    ave /= N
    lista = [ave for x in range(0,N)]
    return lista