
'''simple docstring'''







def  snake_case_		(    __SCREAMING_SNAKE_CASE :			List[Any]							):



						"""simple docstring"""





						lowercase_     :					int													=	[]
						lowercase_     :					Union[str, Any]													=	set({'''(''', '''[''', '''{'''}							)
						lowercase_     :					Optional[int]													=	set({''')''', ''']''', '''}'''}							)
						lowercase_     :					int													=	{'''{''': '''}''', '''[''': ''']''', '''(''': ''')'''}

						for i in range(len(__SCREAMING_SNAKE_CASE							)							):
												if s[i] in open_brackets:
																		stack.append(s[i]							)

												elif s[i] in closed_brackets and (
												    len(__SCREAMING_SNAKE_CASE							) == 0 or (len(__SCREAMING_SNAKE_CASE							) > 0 and open_to_closed[stack.pop()] != s[i])
												):
																		return False

						return len(__SCREAMING_SNAKE_CASE							) == 0
def  snake_case_		(    ):



						"""simple docstring"""





						lowercase_     :					List[Any]													=	input('''Enter sequence of brackets: '''							)
						if is_balanced(__SCREAMING_SNAKE_CASE							):
												print(__SCREAMING_SNAKE_CASE				,				'''is balanced'''							)
						else:
												print(__SCREAMING_SNAKE_CASE				,				'''is not balanced'''							)


if __name__ == "__main__":
							main()





'''simple docstring'''







def  snake_case_		(    __SCREAMING_SNAKE_CASE :			str							):



						"""simple docstring"""





						return [
						    txt[:a] + txt[a].upper() + txt[a + 1 :]
						    for a in range(len(__SCREAMING_SNAKE_CASE							)							)
						    if txt[a].isalpha()
						]


if __name__ == "__main__":
							__import__("doctest").testmod()



