


'''simple docstring'''






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


__A					:  int											=      logging.get_logger(__name__)

__A					:  List[str]											=      {
    "Visual-Attention-Network/van-base": (
        "https://huggingface.co/Visual-Attention-Network/van-base/blob/main/config.json"
    ),
}






class    __snake_case       (   _SCREAMING_SNAKE_CASE):







    """simple docstring"""



    lowercase    =					'van'

    def __init__(   self    :  Optional[Any]    ,						lowerCamelCase    :  Optional[Any]=2_24    ,						lowerCamelCase    :  List[str]=3    ,						lowerCamelCase    :  Optional[Any]=[7, 3, 3, 3]    ,						lowerCamelCase    :  Optional[Any]=[4, 2, 2, 2]    ,						lowerCamelCase    :  List[Any]=[64, 1_28, 3_20, 5_12]    ,						lowerCamelCase    :  Dict=[3, 3, 12, 3]    ,						lowerCamelCase    :  str=[8, 8, 4, 4]    ,						lowerCamelCase    :  List[str]="gelu"    ,						lowerCamelCase    :  Optional[int]=0.02    ,						lowerCamelCase    :  Optional[int]=1E-6    ,						lowerCamelCase    :  List[str]=1E-2    ,						lowerCamelCase    :  Optional[int]=0.0    ,						lowerCamelCase    :  Dict=0.0    ,						**lowerCamelCase    :  int    ,						)   ->  Optional[int]:
      super().__init__(**lowerCamelCase		)
      lowerCAmelCase_			:      Tuple			=   image_size
      lowerCAmelCase_			:      Optional[Any]			=   num_channels
      lowerCAmelCase_			:      str			=   patch_sizes
      lowerCAmelCase_			:      int			=   strides
      lowerCAmelCase_			:      Union[str, Any]			=   hidden_sizes
      lowerCAmelCase_			:      List[Any]			=   depths
      lowerCAmelCase_			:      List[Any]			=   mlp_ratios
      lowerCAmelCase_			:      List[str]			=   hidden_act
      lowerCAmelCase_			:      Optional[int]			=   initializer_range
      lowerCAmelCase_			:      str			=   layer_norm_eps
      lowerCAmelCase_			:      List[Any]			=   layer_scale_init_value
      lowerCAmelCase_			:      Dict			=   drop_path_rate
      lowerCAmelCase_			:      Any			=   dropout_rate







'''simple docstring'''






from math import ceil







def 				UpperCamelCase_			(    A__					:   int = 10_01					):
  '''simple docstring'''





  lowerCAmelCase_			:      List[Any]			=   1

  for i in range(1							,    int(ceil(n / 2.0					)					)					):
    lowerCAmelCase_			:      int			=   2 * i + 1
    lowerCAmelCase_			:      Tuple			=   2 * i
    lowerCAmelCase_			:      Tuple			=   total + 4 * odd**2 - 6 * even

  return total


if __name__ == "__main__":
  import sys

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



