def METHOD_NAME(args):
    # (
    #     Nelem,
    # ) = args
    Telem_ence = 0.00898860
    Telem_copy = 0.00631888
    Nelem = args
    ELEM_PER_PAGE = 1024
    extend_cnt = math.ceil(math.log(float(Nelem)/ELEM_PER_PAGE, 2))
    if extend_cnt < 0:
        extend_cnt = 0
    copy_cnt = ELEM_PER_PAGE * (math.pow(2, extend_cnt) - 1)
    total_cost = Telem_ence * Nelem
    #total_cost += Tmem_alloc * extend_cnt
    total_cost += Telem_copy * copy_cnt
    return total_cost