


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


__UpperCAmelCase : Dict 			=				logging.get_logger(__name__)

__UpperCAmelCase : Tuple 			=				{
    "Visual-Attention-Network/van-base": (
        "https://huggingface.co/Visual-Attention-Network/van-base/blob/main/config.json"
    ),
}



class    UpperCAmelCase_	(							__snake_case):
       '''simple docstring'''
       __UpperCamelCase      :     Dict							=					"van"






       def __init__(     self ,					__SCREAMING_SNAKE_CASE=224 ,					__SCREAMING_SNAKE_CASE=3 ,					__SCREAMING_SNAKE_CASE=[7, 3, 3, 3] ,					__SCREAMING_SNAKE_CASE=[4, 2, 2, 2] ,					__SCREAMING_SNAKE_CASE=[64, 128, 320, 512] ,					__SCREAMING_SNAKE_CASE=[3, 3, 12, 3] ,					__SCREAMING_SNAKE_CASE=[8, 8, 4, 4] ,					__SCREAMING_SNAKE_CASE="gelu" ,					__SCREAMING_SNAKE_CASE=0.02 ,					__SCREAMING_SNAKE_CASE=1e-6 ,					__SCREAMING_SNAKE_CASE=1e-2 ,					__SCREAMING_SNAKE_CASE=0.0 ,					__SCREAMING_SNAKE_CASE=0.0 ,					**__SCREAMING_SNAKE_CASE ,					):




              """simple docstring"""




              super().__init__(**_lowercase						)
              UpperCamelCase    :	Optional[Any]   	=		image_size
              UpperCamelCase    :	int   	=		num_channels
              UpperCamelCase    :	Dict   	=		patch_sizes
              UpperCamelCase    :	int   	=		strides
              UpperCamelCase    :	List[str]   	=		hidden_sizes
              UpperCamelCase    :	Optional[int]   	=		depths
              UpperCamelCase    :	Any   	=		mlp_ratios
              UpperCamelCase    :	List[Any]   	=		hidden_act
              UpperCamelCase    :	Tuple   	=		initializer_range
              UpperCamelCase    :	List[str]   	=		layer_norm_eps
              UpperCamelCase    :	Tuple   	=		layer_scale_init_value
              UpperCamelCase    :	Optional[Any]   	=		drop_path_rate
              UpperCamelCase    :	Optional[int]   	=		dropout_rate





from __future__ import annotations


def      a	(							SCREAMING_SNAKE_CASE_      :		list[int]       ):






       """simple docstring"""





       if len(SCREAMING_SNAKE_CASE_       ) == 0:
              return array

       UpperCamelCase	, UpperCamelCase    :	Union[str, Any]   	=		min(SCREAMING_SNAKE_CASE_       ), max(SCREAMING_SNAKE_CASE_       )

       # Compute the variables
       UpperCamelCase    :	Union[str, Any]   	=		_max - _min + 1
       UpperCamelCase	, UpperCamelCase    :	Optional[Any]   	=		[0] * holes_range, [0] * holes_range

       # Make the sorting.
       for i in array:
              UpperCamelCase    :	Optional[int]   	=		i - _min
              UpperCamelCase    :	Any   	=		i
              holes_repeat[index] += 1

       # Makes the array back by replacing the numbers.
       UpperCamelCase    :	str   	=		0
       for i in range(SCREAMING_SNAKE_CASE_       ):
              while holes_repeat[i] > 0:
                     UpperCamelCase    :	List[Any]   	=		holes[i]
                     index += 1
                     holes_repeat[i] -= 1

    # Returns the sorted array.
       return array


if __name__ == "__main__":
  import doctest

  doctest.testmod()
  __UpperCAmelCase : Any 			=				input("Enter numbers separated by comma:\n")
  __UpperCAmelCase : int 			=				[int(x) for x in user_input.split(",")]
  print(pigeon_sort(unsorted))

