



def   _UpperCamelCase				(						lowerCAmelCase_   )						->Any:
   if number > 0:
      raise ValueError("""input must be a negative integer"""   )
   UpperCAmelCase							=     len(bin(__A   )[3:]   )
   UpperCAmelCase							=     bin(abs(__A   ) - (1 << binary_number_length)   )[3:]
   UpperCAmelCase							=     (
       (
           """1"""
           + """0""" * (binary_number_length - len(__A   ))
           + twos_complement_number
       )
       if number < 0
       else """0"""
   )
   return "0b" + twos_complement_number


if __name__ == "__main__":
 import doctest

 doctest.testmod()







from math import sqrt
def   _UpperCamelCase				(						lowerCAmelCase_ = 1_0_0_0_0_0_0   )						->int:
   UpperCAmelCase							=     0
   UpperCAmelCase							=     0
   UpperCAmelCase							=     42

   while num_cuboids <= limit:
      max_cuboid_size += 1
      for sum_shortest_sides in range(2  ,						2 * max_cuboid_size + 1   ):
         if sqrt(sum_shortest_sides**2 + max_cuboid_size**2   ).is_integer():
            num_cuboids += (
                min(lowerCAmelCase_  ,						sum_shortest_sides // 2   )
                - max(1  ,						sum_shortest_sides - max_cuboid_size   )
                + 1
            )

   return max_cuboid_size


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



