
'''simple docstring'''






def 		A_							(						_lowerCAmelCase :     str				):



      """simple docstring"""




      assert column_title.isupper()
      _lowerCamelCase					: str		    = 0
      _lowerCamelCase					: Union[str, Any]		    = len(_lowerCAmelCase				) - 1
      _lowerCamelCase					: Optional[Any]		    = 0

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

      return answer


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

 testmod()


def      A__					(			__A  :						str     ,				__A  :						str			)					->str:

      if not (isinstance(__A     ,				__A			) and isinstance(__A     ,				__A			)):
            raise ValueError('''longest_common_substring() takes two strings for inputs'''			)

      __A    =len(__A			)
      __A    =len(__A			)

      __A    =[[0] * (texta_length + 1) for _ in range(texta_length + 1			)]
      __A    =0
      __A    =0

      for i in range(1     ,				texta_length + 1			):
            for j in range(1     ,				texta_length + 1			):
                  if texta[i - 1] == texta[j - 1]:
                        __A    =1 + dp[i - 1][j - 1]
                        if dp[i][j] > ans_length:
                              __A    =i
                              __A    =dp[i][j]

      return texta[ans_index - ans_length : ans_index]


if __name__ == "__main__":
   import doctest

   doctest.testmod()


