





"""simple docstring"""



def 						__lowercase	(  snake_case_    :    str		)  ->int:



    '''simple docstring'''







    assert column_title.isupper()
    __A       :		List[str]							=	0
    __A       :		Optional[int]							=	len(snake_case_		) - 1
    __A       :		Optional[Any]							=	0

    while index >= 0:
        __A       :		Tuple							=	(ord(column_title[index]		) - 64) * pow(26							,snake_case_		)
        answer += value
        power += 1
        index -= 1

    return answer


if __name__ == "__main__":
       from doctest import testmod

       testmod()











"""simple docstring"""



def 						__lowercase	(  snake_case_    :    list		)  ->float:



    '''simple docstring'''







    __A       :		Tuple							=	0
    while len(snake_case_		) > 1:
        __A       :		List[Any]							=	0
        # Consider two files with minimum cost to be merged
        for _ in range(2		):
            __A       :		Dict							=	files.index(min(snake_case_		)		)
            temp += files[min_index]
            files.pop(snake_case_		)
        files.append(snake_case_		)
        optimal_merge_cost += temp
    return optimal_merge_cost


if __name__ == "__main__":
       import doctest

       doctest.testmod()




