
'''simple docstring'''







lowerCAmelCase_      =   [chr(i) for i in range(3_2, 1_2_6)]
lowerCAmelCase_      =   list(range(len(alphabets)))
lowerCAmelCase_      =   list(range(len(alphabets)))
lowerCAmelCase_      =   list(range(len(alphabets)))
lowerCAmelCase_      =   list(reversed(range(len(alphabets))))
lowerCAmelCase_      =   []
lowerCAmelCase_      =   lowerCAmelCase_      =   lowerCAmelCase_      =   0







def   lowerCAmelCase(  ):







       '''simple docstring'''






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







def   lowerCAmelCase(  a__    :  Union[str, Any]      ):







       '''simple docstring'''






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


if __name__ == "__main__":
    lowerCAmelCase_      =   list(input("Type your message:\n"))
    while True:
        try:
            lowerCAmelCase_      =   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'''







def   lowerCAmelCase(  a__    :  float      , a__    :  float      , a__    :  int      ):







       '''simple docstring'''






       lowerCamelCase__				   =      [1 / first_term]
       lowerCamelCase__				   =      1 / first_term
       for _ in range(number_of_terms - 1      ):
              first_term += common_difference
              arithmetic_progression.append(a__      )
       lowerCamelCase__				   =      [1 / step for step in arithmetic_progression]
       return sum(a__      )


if __name__ == "__main__":
    import doctest

    doctest.testmod()
    print(sum_of_harmonic_progression(1 / 2, 2, 2))

