


"""simple docstring"""







from math import sqrt


def      lowercase			(				A_ = 1_000_000       )->      int:
  '''simple docstring'''







  a						:		int      							=			0
  a						:		int      							=			0
  a						:		int

  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(A_  ,   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'''




from itertools import count



def       __lowerCamelCase  (					_lowercase = 5_0		)      ->			int:
							UpperCAmelCase     :		Any							     =		[1] * min_block_length

							for n in count(_lowercase		):
														fill_count_functions.append(1		)

														for block_length in range(_lowercase	,				n + 1		):
																					for block_start in range(n - block_length		):
																												fill_count_functions[n] += fill_count_functions[
																												    n - block_start - block_length - 1
																												]

																					fill_count_functions[n] += 1

														if fill_count_functions[n] > 1_0_0_0_0_0_0:
																					break

							return n


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

