




import warnings

from ...utils import logging
from .image_processing_donut import DonutImageProcessor


__UpperCamelCase   :			Any          = logging.get_logger(__name__)

class 						__lowerCAmelCase      (      __magic_name__					):
							def __init__(		self		:Optional[Any]						, *__magic_name__		:Any						, **__magic_name__		:Tuple							):







								'''simple docstring'''







								warnings.warn(
								    """The class DonutFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"""
								    """ use DonutImageProcessor instead."""						, __magic_name__						, )
								super().__init__(*__magic_name__						, **__magic_name__							)







import os





def 						__A						(      ) ->			Dict:
	with open(os.path.dirname(__lowerCamelCase       ) + """/p022_names.txt"""       ) as file:
		a									=				str(file.readlines()[0]       )
		a									=				names.replace("""\""""				,     """"""       ).split(""","""       )

	names.sort()

	a									=				0
	a									=				0

	for i, name in enumerate(__lowerCamelCase       ):
		for letter in name:
			name_score += ord(__lowerCamelCase       ) - 64

		total_score += (i + 1) * name_score
		a									=				0
	return total_score


if __name__ == "__main__":
		print(solution())

