"""simple docstring"""







_SCREAMING_SNAKE_CASE  :		int        =      [chr(i) for i in range(3_2, 1_2_6)]
_SCREAMING_SNAKE_CASE  :		Any        =      list(range(len(alphabets)))
_SCREAMING_SNAKE_CASE  :		int        =      list(range(len(alphabets)))
_SCREAMING_SNAKE_CASE  :		Optional[int]        =      list(range(len(alphabets)))
_SCREAMING_SNAKE_CASE  :		Dict        =      list(reversed(range(len(alphabets))))
_SCREAMING_SNAKE_CASE  :		Optional[Any]        =      []
_SCREAMING_SNAKE_CASE  :		Optional[int]        =      0



def 			A__						(  )     ->       List[Any]:

   '''simple docstring'''





   global gear_one_pos
   global gear_two_pos
   global gear_three_pos
   __lowerCamelCase								=				gear_one[0]
   gear_one.append(lowercase_	)
   del gear_one[0]
   gear_one_pos += 1
   if gear_one_pos % int(len(lowercase_	)	) == 0:
      __lowerCamelCase								=				gear_two[0]
      gear_two.append(lowercase_	)
      del gear_two[0]
      gear_two_pos += 1
      if gear_two_pos % int(len(lowercase_	)	) == 0:
         __lowerCamelCase								=				gear_three[0]
         gear_three.append(lowercase_	)
         del gear_three[0]
         gear_three_pos += 1



def 			A__						(  lowercase_    :  List[Any]	)     ->       int:

   '''simple docstring'''





   __lowerCamelCase								=				alphabets.index(lowercase_	)
   __lowerCamelCase								=				gear_one[target]
   __lowerCamelCase								=				gear_two[target]
   __lowerCamelCase								=				gear_three[target]
   __lowerCamelCase								=				reflector[target]
   __lowerCamelCase								=				gear_three.index(lowercase_	)
   __lowerCamelCase								=				gear_two.index(lowercase_	)
   __lowerCamelCase								=				gear_one.index(lowercase_	)
   code.append(alphabets[target]	)
   rotator()


if __name__ == "__main__":
     _SCREAMING_SNAKE_CASE  :		Dict        =      list(input('''Type your message:\n'''))
     while True:
          try:
               _SCREAMING_SNAKE_CASE  :		int        =      int(input('''Please set token:(must be only digits)\n'''))
               break
          except Exception as error:
               print(error)
     for _ in range(token):
          rotator()
     for j in decode:
          engine(j)
     print('''\n''' + ''''''.join(code))
     print(
         F"\nYour Token is {token} please write it down.\nIf you want to decode "
         '''this message again you should input same digits as token!'''
     )







"""simple docstring"""







from __future__ import annotations

from collections.abc import Callable



def 			A__						(  lowercase_    :  Callable[[int | float], int | float]			,   lowercase_    :  int | float			,   lowercase_    :  int | float			,   lowercase_    :  int = 100			,   )     ->       float:
   __lowerCamelCase								=				x_start
   __lowerCamelCase								=				fnc(lowercase_	)
   __lowerCamelCase								=				0.0

   for _ in range(lowercase_	):
      # Approximates small segments of curve as linear and solve
      # for trapezoidal area
      __lowerCamelCase								=				(x_end - x_start) / steps + xa
      __lowerCamelCase								=				fnc(lowercase_	)
      area += abs(fxa + fxa	) * (xa - xa) / 2

      # Increment step
      __lowerCamelCase								=				xa
      __lowerCamelCase								=				fxa
   return area


if __name__ == "__main__":



     def 			A__						(  lowercase_    :  Union[str, Any]	)     ->       int:
        return x**3

     print('''f(x) = x^3''')
     print('''The area between the curve, x = -10, x = 10 and the x axis is:''')
     _SCREAMING_SNAKE_CASE  :		Any        =      1_0
     while i <= 1_0_0_0_0_0:
          _SCREAMING_SNAKE_CASE  :		List[str]        =      trapezoidal_area(f, -5, 5, i)
          print(F"with {i} steps: {area}")
          i *= 1_0






