





def      _A       (		SCREAMING_SNAKE_CASE     :   list[int]						):





  """simple docstring"""



  if not nums:  # Makes sure that the list is not empty
    raise ValueError("List is empty"						)

  a__	:					List[str]										=sum(SCREAMING_SNAKE_CASE						) / len(SCREAMING_SNAKE_CASE						)  # Calculate the average
  return sum(abs(x - average						) for x in nums						) / len(SCREAMING_SNAKE_CASE						)


if __name__ == "__main__":
     import doctest

     doctest.testmod()













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() = }""")






