





'''simple docstring'''







import math






def  _lowerCamelCase				( lowercase						:      int = 100						)	->	int:
				_a								= sum(i * i for i in range(1    ,							n + 1						)						)
				_a								= int(math.pow(sum(range(1    ,							n + 1						)						)    ,							2						)						)
				return square_of_sum - sum_of_squares


if __name__ == "__main__":
					print(f"""{solution() = }""")






from __future__ import annotations







def SCREAMING_SNAKE_CASE				(       lowercase_ ,				lowercase_ ,				lowercase_						)   ->       tuple[float, list[float]]:



       """simple docstring"""

       A__       =    list(range(len(lowercase_						)						)						)
       A__       =    [v / w for v, w in zip(lowercase_ ,				lowercase_						)]
       index.sort(key=lambda lowercase_						: ratio[i] ,				reverse=lowercase_						)

       A__       =    0
       A__       =    [0] * len(lowercase_						)
       for i in index:
              if weight[i] <= capacity:
                     A__       =    1
                     max_value += value[i]
                     capacity -= weight[i]
              else:
                     A__       =    capacity / weight[i]
                     max_value += value[i] * capacity / weight[i]
                     break

       return max_value, fractions


if __name__ == "__main__":
  import doctest

  doctest.testmod()


