






"""simple docstring"""
def        snake_case   (     A__		):
			assert column_title.isupper()
			UpperCAmelCase_  :				Union[str, Any]      =      0
			UpperCAmelCase_  :				int      =      len(A__		) - 1
			UpperCAmelCase_  :				Optional[Any]      =      0

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

			return answer


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

			testmod()











"""simple docstring"""
from itertools import count

def        snake_case   (     A__ = 50		):
			UpperCAmelCase_  :				Any      =      [1] * min_block_length

			for n in count(A__		):
						fill_count_functions.append(1		)

						for block_length in range(A__			,n + 1		):
									for block_start in range(n - block_length		):
												fill_count_functions[n] += fill_count_functions[
												    n - block_start - block_length - 1
												]

									fill_count_functions[n] += 1

						if fill_count_functions[n] > 1_00_00_00:
									break

			return n


if __name__ == "__main__":
			print(f'{solution() = }')



