from math import ceil







def     _a				(      lowercase__  :			int = 10_01 ):







     '''simple docstring'''


     SCREAMING_SNAKE_CASE__				:				Dict			=		1

     for i in range(1     ,  int(ceil(n / 2.0 ) ) ):
          SCREAMING_SNAKE_CASE__				:				List[Any]			=		2 * i + 1
          SCREAMING_SNAKE_CASE__				:				Tuple			=		2 * i
          SCREAMING_SNAKE_CASE__				:				List[str]			=		total + 4 * odd**2 - 6 * even

     return total


if __name__ == "__main__":
      import sys

      if len(sys.argv) == 1:
            print(solution())
      else:
            try:
                  SCREAMING_SNAKE_CASE__		:					Optional[int]						=					int(sys.argv[1])
                  print(solution(n))
            except ValueError:
                  print("Invalid entry - please enter a number")




def     _a				(      lowercase__  :			Optional[int] ):







     '''simple docstring'''


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

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

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

     return len(lowercase__ ) == 0







def     _a				(      ):







     '''simple docstring'''


     SCREAMING_SNAKE_CASE__				:				Tuple			=		input('Enter sequence of brackets: ' )
     if is_balanced(lowercase__ ):
          print(lowercase__     ,  'is balanced' )
     else:
          print(lowercase__     ,  'is not balanced' )


if __name__ == "__main__":
      main()



