


"""simple docstring"""
def   _a			( _SCREAMING_SNAKE_CASE			,	_SCREAMING_SNAKE_CASE			)      ->			bool:
							snake_case_          =						len(_SCREAMING_SNAKE_CASE			)
							snake_case_          =						len(_SCREAMING_SNAKE_CASE			)
							snake_case_          =						[[False for _ in range(m + 1			)] for _ in range(n + 1			)]
							snake_case_          =						True
							for i in range(_SCREAMING_SNAKE_CASE			):
														for j in range(m + 1			):
																					if dp[i][j]:
																												if j < m and a[i].upper() == b[j]:
																																			snake_case_          =						True
																												if a[i].islower():
																																			snake_case_          =						True
							return dp[n][m]


if __name__ == "__main__":
				import doctest

				doctest.testmod()







"""simple docstring"""
def   _a			( _SCREAMING_SNAKE_CASE			)      ->			int:
							assert column_title.isupper()
							snake_case_          =						0
							snake_case_          =						len(_SCREAMING_SNAKE_CASE			) - 1
							snake_case_          =						0

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

							return answer


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

				testmod()



