
from __future__ import annotations


def     UpperCamelCase      (					__lowerCamelCase  :				int					):
       for r in range(1       ,      __lowerCamelCase					):
              snake_case :     Optional[int]           =   []
              for x in range(n - 1					):
                     snake_case :     List[Any]           =   pow(__lowerCamelCase       ,      __lowerCamelCase       ,      __lowerCamelCase					)
                     if val in li:
                            break
                     li.append(__lowerCamelCase					)
              else:
                     return r
       return None


if __name__ == "__main__":
   __lowerCamelCase							= int(input("""Enter a prime number q: """))
   __lowerCamelCase							= find_primitive(q)
   if a is None:
      print(F'Cannot find the primitive for the value: {a!r}')
   else:
      __lowerCamelCase							= int(input("""Enter private key of A: """))
      __lowerCamelCase							= pow(a, a_private, q)
      __lowerCamelCase							= int(input("""Enter private key of B: """))
      __lowerCamelCase							= pow(a, b_private, q)

      __lowerCamelCase							= pow(b_public, a_private, q)
      __lowerCamelCase							= pow(a_public, b_private, q)

      print("""The key value generated by A is: """, a_secret)
      print("""The key value generated by B is: """, b_secret)







import platform
from argparse import ArgumentParser

import huggingface_hub
import pandas
import pyarrow

from datasets import __version__ as version
from datasets.commands import BaseDatasetsCLICommand


def     UpperCamelCase      (					__lowerCamelCase  :				int					):
       return EnvironmentCommand()






class 						UpperCAmelCase	(		A_				):



   @staticmethod
   def        _SCREAMING_SNAKE_CASE     (snake_case__	:      ArgumentParser				)	->			Any:


          '''simple docstring'''


          snake_case :     Optional[Any]           =   parser.add_parser("env"					,		help="Print relevant system environment info."				)
          download_parser.set_defaults(func=snake_case__				)



   def        _SCREAMING_SNAKE_CASE     (self	:      Dict				)	->			Optional[Any]:


          '''simple docstring'''


          snake_case :     List[str]           =   {
              "`datasets` version": version,
              "Platform": platform.platform(),
              "Python version": platform.python_version(),
              "Huggingface_hub version": huggingface_hub.__version__,
              "PyArrow version": pyarrow.__version__,
              "Pandas version": pandas.__version__,
          }

          print("\nCopy-and-paste the text below in your GitHub issue.\n"				)
          print(self.format_dict(snake_case__				)				)

          return info



   @staticmethod
   def        _SCREAMING_SNAKE_CASE     (snake_case__	:      Tuple				)	->			Any:


          '''simple docstring'''


          return "\n".join([f"""- {prop}: {val}""" for prop, val in d.items()]				) + "\n"





