





"""simple docstring"""
from math import sqrt



def 					__lowerCamelCase       (							a_					:		int = 1_00_00_00							)      ->				int:
      __SCREAMING_SNAKE_CASE       :int		    =  0
      __SCREAMING_SNAKE_CASE       :int		    =  0
      __SCREAMING_SNAKE_CASE       :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"""
import math
import random



def 					__lowerCamelCase       (							a_					:		float			,       a_					:		bool = False							)      ->				float:
      if deriv:
            return value * (1 - value)
      return 1 / (1 + math.exp(-value							))


# Initial Value
lowerCamelCase_       =		0.02



def 					__lowerCamelCase       (							a_					:		int			,       a_					:		int							)      ->				float:
      __SCREAMING_SNAKE_CASE       :Any		    =  float(2 * (random.randint(1			,       1_00							)) - 1							)

      for _ in range(a_							):
            # Forward propagation
            __SCREAMING_SNAKE_CASE       :Any		    =  sigmoid_function(INITIAL_VALUE * weight							)
            # How much did we miss?
            __SCREAMING_SNAKE_CASE       :Tuple		    =  (expected / 1_00) - layer_a
            # Error delta
            __SCREAMING_SNAKE_CASE       :Union[str, Any]		    =  layer_1_error * sigmoid_function(a_			,       a_							)
            # Update weight
            weight += INITIAL_VALUE * layer_1_delta

      return layer_a * 1_00


if __name__ == "__main__":
  import doctest

  doctest.testmod()

  lowerCamelCase_       =		int(input("Expected value: "))
  lowerCamelCase_       =		int(input("Number of propagations: "))
  print(forward_propagation(expected, number_propagations))