





'''simple docstring'''


from __future__ import annotations

from typing import Any






class     lowerCAmelCase__ (				UpperCAmelCase_    ):

       '''simple docstring'''
       pass






class     lowerCAmelCase__ :

       '''simple docstring'''

       def __init__( self					:				int       ,     a__					:				Any						):
              UpperCAmelCase  =						data
              UpperCAmelCase  =						None

       def __iter__( self					:				List[str]						):
              UpperCAmelCase  =						self
              UpperCAmelCase  =						[]
              while node:
                     if node in visited:
                            raise ContainsLoopError
                     visited.append(a__						)
                     yield node.data
                     UpperCAmelCase  =						node.next_node



       @property
       def 			__snake_case      ( self					:				Optional[int]						):
              try:
                     list(self						)
                     return False
              except ContainsLoopError:
                     return True


if __name__ == "__main__":
    a__			:					List[str]       						=						Node(1)
    a__			:					int       						=						Node(2)
    a__			:					Optional[int]       						=						Node(3)
    a__			:					Optional[Any]       						=						Node(4)
    print(root_node.has_loop)  # False
    a__			:					Any       						=						root_node.next_node
    print(root_node.has_loop)  # True

    a__			:					Any       						=						Node(5)
    a__			:					List[Any]       						=						Node(6)
    a__			:					Optional[int]       						=						Node(5)
    a__			:					List[Any]       						=						Node(6)
    print(root_node.has_loop)  # False

    a__			:					Dict       						=						Node(1)
    print(root_node.has_loop)  # False






"""simple docstring"""


def    _lowerCamelCase   (     lowerCamelCase__	:							str  ):
 assert column_title.isupper()
 lowercase__       :       int				=						0
 lowercase__       :       Optional[int]				=						len(lowerCamelCase__  ) - 1
 lowercase__       :       int				=						0

 while index >= 0:
  lowercase__       :       List[str]				=						(ord(column_title[index]  ) - 64) * pow(26       ,		lowerCamelCase__  )
  answer += value
  power += 1
  index -= 1

 return answer


if __name__ == "__main__":
   from doctest import testmod

   testmod()