



"""simple docstring"""






def 							A__ (     ):


  '''simple docstring'''


  _SCREAMING_SNAKE_CASE        =			1

  while True:
    if (
        sorted(str(UpperCamelCase__    )    )
        == sorted(str(2 * i    )    )
        == sorted(str(3 * i    )    )
        == sorted(str(4 * i    )    )
        == sorted(str(5 * i    )    )
        == sorted(str(6 * i    )    )
    ):
      return i

    i += 1


if __name__ == "__main__":
    print(solution())





"""simple docstring"""






import argparse

from transformers import CanineConfig, CanineModel, CanineTokenizer, load_tf_weights_in_canine
from transformers.utils import logging


logging.set_verbosity_info()


def 							A__ (     UpperCamelCase__       ,							UpperCamelCase__    ):


  '''simple docstring'''


  _SCREAMING_SNAKE_CASE        =			CanineConfig()
  _SCREAMING_SNAKE_CASE        =			CanineModel(UpperCamelCase__    )
  model.eval()

  print(F'''Building PyTorch model from configuration: {config}'''    )

  # Load weights from tf checkpoint
  load_tf_weights_in_canine(UpperCamelCase__       ,							UpperCamelCase__       ,							UpperCamelCase__    )

  # Save pytorch-model (weights and configuration)
  print(F'''Save PyTorch model to {pytorch_dump_path}'''    )
  model.save_pretrained(UpperCamelCase__    )

  # Save tokenizer files
  _SCREAMING_SNAKE_CASE        =			CanineTokenizer()
  print(F'''Save tokenizer files to {pytorch_dump_path}'''    )
  tokenizer.save_pretrained(UpperCamelCase__    )


if __name__ == "__main__":
    lowerCamelCase				:     Dict								=  argparse.ArgumentParser()
    # Required parameters
    parser.add_argument(
        """--tf_checkpoint_path""",
        default=None,
        type=str,
        required=True,
        help="""Path to the TensorFlow checkpoint. Should end with model.ckpt""",
    )
    parser.add_argument(
        """--pytorch_dump_path""",
        default=None,
        type=str,
        required=True,
        help="""Path to a folder where the PyTorch model will be placed.""",
    )
    lowerCamelCase				:     str								=  parser.parse_args()
    convert_tf_checkpoint_to_pytorch(args.tf_checkpoint_path, args.pytorch_dump_path)
