

'''simple docstring'''





def 					_lowercase						(   lowerCamelCase__			:		float							):
				return 10 - x * x



def 					_lowercase						(   lowerCamelCase__			:		float,		lowerCamelCase__			:		float							):



				if equation(lowerCamelCase__							) * equation(lowerCamelCase__							) >= 0:
								raise ValueError("Wrong space!"							)

				_a        =   a
				while (b - a) >= 0.01:
								# Find middle point
								_a        =   (a + b) / 2
								# Check if middle point is root
								if equation(lowerCamelCase__							) == 0.0:
												break
								# Decide the side to repeat the steps
								if equation(lowerCamelCase__							) * equation(lowerCamelCase__							) < 0:
												_a        =   c
								else:
												_a        =   c
				return c


if __name__ == "__main__":
							import doctest

							doctest.testmod()

							print(bisection(-2, 5))
							print(bisection(0, 6))













"""simple docstring"""



import os


def 	SCREAMING_SNAKE_CASE__       (  )->		Optional[Any]:






     '''simple docstring'''



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

     names.sort()

     UpperCAmelCase__						:    Optional[int]							=							0
     UpperCAmelCase__						:    List[str]							=							0

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

          total_score += (i + 1) * name_score
          UpperCAmelCase__						:    Optional[int]							=							0
     return total_score


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


