





'''simple docstring'''

import os





def lowerCamelCase						(     )						->Optional[Any]:







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

    names.sort()

    _SCREAMING_SNAKE_CASE									=			0
    _SCREAMING_SNAKE_CASE									=			0

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

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


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




from math import factorial, radians




def       _snake_case	(   lowerCAmelCase							:   float   , lowerCAmelCase							:   int = 1_8   , lowerCAmelCase							:   int = 1_0	):
		"""simple docstring"""







		SCREAMING_SNAKE_CASE_  :		List[str]				      =    angle_in_degrees - ((angle_in_degrees // 360.0) * 360.0)

		# Converting from degrees to radians
		SCREAMING_SNAKE_CASE_  :		Tuple				      =    radians(lowerCAmelCase	)

		SCREAMING_SNAKE_CASE_  :		Optional[Any]				      =    angle_in_radians
		SCREAMING_SNAKE_CASE_  :		List[str]				      =    3
		SCREAMING_SNAKE_CASE_  :		str				      =    -1

		for _ in range(lowerCAmelCase	):
				result += (b * (angle_in_radians**a)) / factorial(lowerCAmelCase	)

				SCREAMING_SNAKE_CASE_  :		Dict				      =    -b  # One positive term and the next will be negative and so on...
				a += 2  # Increased by 2 for every term.

		return round(lowerCAmelCase   , lowerCAmelCase	)


if __name__ == "__main__":
		__import__('''doctest''').testmod()
