





import os
from distutils.util import strtobool
def      _A       (		SCREAMING_SNAKE_CASE     :   int       ,       SCREAMING_SNAKE_CASE     :   Optional[int]						):





  """simple docstring"""



  for e in env_keys:
    a__	:					Dict										=int(os.environ.get(SCREAMING_SNAKE_CASE       ,       -1						)						)
    if val >= 0:
      return val
  return default
def      _A       (		SCREAMING_SNAKE_CASE     :   List[Any]       ,       SCREAMING_SNAKE_CASE     :   int=False						):





  """simple docstring"""



  a__	:					Optional[int]										=os.environ.get(SCREAMING_SNAKE_CASE       ,       str(SCREAMING_SNAKE_CASE						)						)
  return strtobool(SCREAMING_SNAKE_CASE						) == 1  # As its name indicates `strtobool` actually returns an int...





def      _A       (		SCREAMING_SNAKE_CASE     :   List[str]       ,       SCREAMING_SNAKE_CASE     :   int="no"						):





  """simple docstring"""



  a__	:					int										=os.environ.get(SCREAMING_SNAKE_CASE       ,       str(SCREAMING_SNAKE_CASE						)						)
  return value













def      _A       (		SCREAMING_SNAKE_CASE     :   int = 50						):





  """simple docstring"""



  a__	:					Any										=[1] * (length + 1)

  for row_length in range(3       ,       length + 1						):
    for block_length in range(3       ,       row_length + 1						):
      for block_start in range(row_length - block_length						):
        ways_number[row_length] += ways_number[
            row_length - block_start - block_length - 1
        ]

      ways_number[row_length] += 1

  return ways_number[length]


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






