





from __future__ import annotations





def 		UpperCamelCase       (							_lowerCamelCase      :      Optional[Any] ):
    A__       =    {1}
    A__       =    [1]
    for _ in range(2		, depth + 1 ):
        A__       =    [*previous_coefficients, 0]
        A__       =    [0, *previous_coefficients]
        A__       =    []
        for x, y in zip(_UpperCAmelCase		, _UpperCAmelCase ):
            coefficients.add(x + y )
            previous_coefficients.append(x + y )
    return coefficients





def 		UpperCamelCase       (							_lowerCamelCase      :      Union[str, Any] ):
    A__       =    set()
    for number in unique_coefficients:
        A__       =    2
        A__       =    number
        while divisor**2 <= copy_number:
            A__       =    0
            while copy_number % divisor == 0:
                copy_number //= divisor
                multiplicity += 1
            if multiplicity >= 2:
                non_squarefrees.add(_UpperCAmelCase )
                break
            divisor += 1

    return unique_coefficients.difference(_UpperCAmelCase )





def 		UpperCamelCase       (							_lowerCamelCase      :      List[Any] = 51 ):
    A__       =    get_pascal_triangle_unique_coefficients(_UpperCAmelCase )
    A__       =    get_squarefrees(_UpperCAmelCase )
    return sum(_UpperCAmelCase )


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










'''simple docstring'''

from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_tf_available,
    is_tokenizers_available,
    is_torch_available,
)


__lowerCAmelCase							:			int				={
    "configuration_layoutlm": ["LAYOUTLM_PRETRAINED_CONFIG_ARCHIVE_MAP", "LayoutLMConfig", "LayoutLMOnnxConfig"],
    "tokenization_layoutlm": ["LayoutLMTokenizer"],
}

try:
  if not is_tokenizers_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  __lowerCAmelCase							:			Any				=["LayoutLMTokenizerFast"]

try:
  if not is_torch_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  __lowerCAmelCase							:			Dict				=[
      "LAYOUTLM_PRETRAINED_MODEL_ARCHIVE_LIST",
      "LayoutLMForMaskedLM",
      "LayoutLMForSequenceClassification",
      "LayoutLMForTokenClassification",
      "LayoutLMForQuestionAnswering",
      "LayoutLMModel",
      "LayoutLMPreTrainedModel",
  ]

try:
  if not is_tf_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  __lowerCAmelCase							:			str				=[
      "TF_LAYOUTLM_PRETRAINED_MODEL_ARCHIVE_LIST",
      "TFLayoutLMForMaskedLM",
      "TFLayoutLMForSequenceClassification",
      "TFLayoutLMForTokenClassification",
      "TFLayoutLMForQuestionAnswering",
      "TFLayoutLMMainLayer",
      "TFLayoutLMModel",
      "TFLayoutLMPreTrainedModel",
  ]


if TYPE_CHECKING:
  from .configuration_layoutlm import LAYOUTLM_PRETRAINED_CONFIG_ARCHIVE_MAP, LayoutLMConfig, LayoutLMOnnxConfig
  from .tokenization_layoutlm import LayoutLMTokenizer

  try:
    if not is_tokenizers_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .tokenization_layoutlm_fast import LayoutLMTokenizerFast

  try:
    if not is_torch_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .modeling_layoutlm import (
        LAYOUTLM_PRETRAINED_MODEL_ARCHIVE_LIST,
        LayoutLMForMaskedLM,
        LayoutLMForQuestionAnswering,
        LayoutLMForSequenceClassification,
        LayoutLMForTokenClassification,
        LayoutLMModel,
        LayoutLMPreTrainedModel,
    )
  try:
    if not is_tf_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .modeling_tf_layoutlm import (
        TF_LAYOUTLM_PRETRAINED_MODEL_ARCHIVE_LIST,
        TFLayoutLMForMaskedLM,
        TFLayoutLMForQuestionAnswering,
        TFLayoutLMForSequenceClassification,
        TFLayoutLMForTokenClassification,
        TFLayoutLMMainLayer,
        TFLayoutLMModel,
        TFLayoutLMPreTrainedModel,
    )

else:
  import sys

  __lowerCAmelCase							:			int				=_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)



