parameters: (self, val)
docstring: :type val: int
          :rtype: None
docstring_summary: :type val: int
          :rtype: None
docstring_tokens: : type val : int : rtype : None
function: def pushMiddle(self, val):
          """
          :type val: int
          :rtype: None
          """
          if len(self.__left) > len(self.__right):
              self.__right.appendleft(self.__left.pop())
          self.__left.append(val)
function_tokens: def pushMiddle ( self , val ) : if len ( self . __left ) > len ( self . __right ) : self . __right . appendleft ( self . __left . pop ( ) ) self . __left . append ( val )