





'''simple docstring'''

from math import sqrt





def lowerCamelCase						(     __lowerCamelCase :    int = 100_0000    )						->int:
    _SCREAMING_SNAKE_CASE									=			0
    _SCREAMING_SNAKE_CASE									=			0
    _SCREAMING_SNAKE_CASE									=			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() = }""")










'''simple docstring'''

import os

from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE, hf_cache_home


lowercase_					= HUGGINGFACE_HUB_CACHE


lowercase_					= """config.json"""
lowercase_					= """diffusion_pytorch_model.bin"""
lowercase_					= """diffusion_flax_model.msgpack"""
lowercase_					= """model.onnx"""
lowercase_					= """diffusion_pytorch_model.safetensors"""
lowercase_					= """weights.pb"""
lowercase_					= """https://huggingface.co"""
lowercase_					= default_cache_path
lowercase_					= """diffusers_modules"""
lowercase_					= os.getenv("""HF_MODULES_CACHE""", os.path.join(hf_cache_home, """modules"""))
lowercase_					= ["""fp16""", """non-ema"""]
lowercase_					= """.self_attn"""



