


import os



def        UpperCamelCase_(   )					->		Any:
    with open(os.path.dirname(lowerCamelCase_				) + '/p022_names.txt'				) as file:
        _lowercase :							Optional[int]   	=	str(file.readlines()[0]				)
        _lowercase :							Union[str, Any]   	=	names.replace('"'							,				''				).split(','				)

    names.sort()

    _lowercase :							str   	=	0
    _lowercase :							int   	=	0

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

        total_score += (i + 1) * name_score
        _lowercase :							Dict   	=	0
    return total_score


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






def        UpperCamelCase_(   lowerCamelCase_							,				lowerCamelCase_				)					->		bool:
    return numa ^ numa < 0


if __name__ == "__main__":
 import doctest

 doctest.testmod()


