





"""simple docstring"""





from ...configuration_utils import PretrainedConfig
from ...utils import logging


lowercase__				:List[Any]				   =       logging.get_logger(__name__)

lowercase__				:Tuple				   =       {
    'google/fnet-base': 'https://huggingface.co/google/fnet-base/resolve/main/config.json',
    'google/fnet-large': 'https://huggingface.co/google/fnet-large/resolve/main/config.json'
    # See all FNet models at https://huggingface.co/models?filter=fnet
}




class 							snake_case							(			__UpperCAmelCase ):

      '''simple docstring'''



      _A     :       List[str]         =       'fnet'

      def __init__(							self       :      Dict						,				__lowercase       :      Dict=32_000						,				__lowercase       :      Tuple=768						,				__lowercase       :      List[Any]=12						,				__lowercase       :      Tuple=3_072						,				__lowercase       :      Optional[int]="gelu_new"						,				__lowercase       :      str=0.1						,				__lowercase       :      Any=512						,				__lowercase       :      Dict=4						,				__lowercase       :      List[Any]=0.0_2						,				__lowercase       :      Any=1e-12						,				__lowercase       :      Dict=False						,				__lowercase       :      Tuple=512						,				__lowercase       :      Optional[int]=3						,				__lowercase       :      Dict=1						,				__lowercase       :      List[str]=2						,				**__lowercase       :      str						,				):


        '''simple docstring'''




        super().__init__(pad_token_id=__lowercase						,				bos_token_id=__lowercase						,				eos_token_id=__lowercase						,				**__lowercase )

        __UpperCAmelCase    :						List[Any]       =						vocab_size
        __UpperCAmelCase    :						int       =						max_position_embeddings
        __UpperCAmelCase    :						Any       =						hidden_size
        __UpperCAmelCase    :						Optional[int]       =						num_hidden_layers
        __UpperCAmelCase    :						str       =						intermediate_size
        __UpperCAmelCase    :						List[Any]       =						hidden_act
        __UpperCAmelCase    :						str       =						hidden_dropout_prob
        __UpperCAmelCase    :						Optional[int]       =						initializer_range
        __UpperCAmelCase    :						Dict       =						type_vocab_size
        __UpperCAmelCase    :						str       =						layer_norm_eps
        __UpperCAmelCase    :						Optional[int]       =						use_tpu_fourier_optimizations
        __UpperCAmelCase    :						List[str]       =						tpu_short_seq_length






"""simple docstring"""





def       lowerCamelCase_       (   UpperCAmelCase_ = 10_00  )						->int:





  """simple docstring"""


  return sum(2 * a * ((a - 1) // 2) for a in range(3  ,			n + 1  )  )


if __name__ == "__main__":
  print(solution())