


from __future__ import annotations

def 						_UpperCAmelCase				(			SCREAMING_SNAKE_CASE__			:					int			,     SCREAMING_SNAKE_CASE__			:					int				):
     if partitions <= 0:
          raise ValueError('partitions must be a positive number!'				)
     if partitions > number_of_bytes:
          raise ValueError('partitions can not > number_of_bytes!'				)
     __UpperCamelCase    							=number_of_bytes // partitions
     __UpperCamelCase    							=[]
     for i in range(SCREAMING_SNAKE_CASE__				):
          __UpperCamelCase    							=i * bytes_per_partition + 1
          __UpperCamelCase    							=(
              number_of_bytes if i == partitions - 1 else (i + 1) * bytes_per_partition
          )
          allocation_list.append(F'{start_bytes}-{end_bytes}'				)
     return allocation_list


if __name__ == "__main__":
   import doctest

   doctest.testmod()









def 						_UpperCAmelCase				(			SCREAMING_SNAKE_CASE__			:					int = 10**12				):
     __UpperCamelCase    							=1
     __UpperCamelCase    							=0

     __UpperCamelCase    							=1
     __UpperCamelCase    							=1

     while numerator <= 2 * min_total - 1:
          prev_numerator += 2 * numerator
          numerator += 2 * prev_numerator

          prev_denominator += 2 * denominator
          denominator += 2 * prev_denominator

     return (denominator + 1) // 2


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





