Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT A = " ( ( ( a + b ) ▁ + ▁ c ) ▁ + ▁ d ) " ; NEW_LINE if ( IsRedundantBraces ( A ) ) : NEW_LINE INDENT print ( " YES " ) ; NEW_LINE DEDENT else : NEW_LINE INDENT print ( " NO " ) ; NEW_LINE DEDENT DEDENT