


def      UpperCAmelCase__		(UpperCamelCase_							):



     """simple docstring"""






     def merge(UpperCamelCase_				,UpperCamelCase_							) -> list:

          def _merge():
               while left and right:
                    yield (left if left[0] <= right[0] else right).pop(0							)
               yield from left
               yield from right

          return list(_merge()							)

     if len(UpperCamelCase_							) <= 1:
          return collection
     snake_case											=							len(UpperCamelCase_							) // 2
     return merge(merge_sort(collection[:mid]							)				,merge_sort(collection[mid:]							)							)


if __name__ == "__main__":
 import doctest

 doctest.testmod()
 _SCREAMING_SNAKE_CASE     :					Optional[Any]      =       input("Enter numbers separated by a comma:\n").strip()
 _SCREAMING_SNAKE_CASE     :					Optional[Any]      =       [int(item) for item in user_input.split(",")]
 print(*merge_sort(unsorted), sep=",")








def      UpperCAmelCase__		(UpperCamelCase_ = 10_00							):



     """simple docstring"""






     return sum(2 * a * ((a - 1) // 2) for a in range(3				,n + 1							)							)


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




