

"""simple docstring"""




def       lowercase__						(       snake_case_   :list[int]			,		snake_case_   :str    ):
	__UpperCAmelCase      		= int(snake_case_    )

	# Initialize Result
	__UpperCAmelCase      		= []

	# Traverse through all denomination
	for denomination in reversed(snake_case_    ):
		# Find denominations
		while int(snake_case_    ) >= int(snake_case_    ):
			total_value -= int(snake_case_    )
			answer.append(snake_case_    )  # Append the "answers" array

	return answer


# Driver Code
if __name__ == "__main__":
				_lowercase   :	str												=						[]
				_lowercase   :	Union[str, Any]												=						'0'

				if (
				    input('Do you want to enter your denominations ? (yY/n): ').strip().lower()
				    == "y"
				):
								_lowercase   :	List[Any]												=						int(input('Enter the number of denominations you want to add: ').strip())

								for i in range(0, n):
												denominations.append(int(input(f"""Denomination {i}: """).strip()))
								_lowercase   :	Optional[Any]												=						input('Enter the change you want to make in Indian Currency: ').strip()
				else:
								# All denominations of Indian Currency if user does not enter
								_lowercase   :	List[Any]												=						[1, 2, 5, 10, 20, 50, 1_00, 5_00, 20_00]
								_lowercase   :	List[str]												=						input('Enter the change you want to make: ').strip()

				if int(value) == 0 or int(value) < 0:
								print('The total value cannot be zero or negative.')

				else:
								print(f"""Following is minimal change for {value}: """)
								_lowercase   :	Optional[int]												=						find_minimum_change(denominations, value)
								# Print result
								for i in range(len(answer)):
												print(answer[i], end=' ')






'''simple docstring'''





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


UpperCamelCase_		:     int          =		logging.get_logger(__name__)

UpperCamelCase_		:     Any          =		{
    '''tiiuae/falcon-40b''': '''https://huggingface.co/tiiuae/falcon-40b/resolve/main/config.json''',
    '''tiiuae/falcon-7b''': '''https://huggingface.co/tiiuae/falcon-7b/resolve/main/config.json''',
}

class   _a							(		__lowerCAmelCase				):
     SCREAMING_SNAKE_CASE_				:       List[str]       							=		"""falcon"""
     SCREAMING_SNAKE_CASE_				:       Optional[int]       							=		["""past_key_values"""]






     def __init__(					self   ,_SCREAMING_SNAKE_CASE=65_024   ,_SCREAMING_SNAKE_CASE=4_544   ,_SCREAMING_SNAKE_CASE=32   ,_SCREAMING_SNAKE_CASE=71   ,_SCREAMING_SNAKE_CASE=1e-5   ,_SCREAMING_SNAKE_CASE=0.0_2   ,_SCREAMING_SNAKE_CASE=True   ,_SCREAMING_SNAKE_CASE=0.0   ,_SCREAMING_SNAKE_CASE=0.0   ,_SCREAMING_SNAKE_CASE=None   ,_SCREAMING_SNAKE_CASE=False   ,_SCREAMING_SNAKE_CASE=False   ,_SCREAMING_SNAKE_CASE=True   ,_SCREAMING_SNAKE_CASE=True   ,_SCREAMING_SNAKE_CASE=False   ,_SCREAMING_SNAKE_CASE=11   ,_SCREAMING_SNAKE_CASE=11   ,**_SCREAMING_SNAKE_CASE   ,)				->     Dict:
          _snake_case				= vocab_size
          # Backward compatibility with n_embed kwarg
          _snake_case				= kwargs.pop("n_embed"   ,_SCREAMING_SNAKE_CASE       )
          _snake_case				= hidden_size if n_embed is None else n_embed
          _snake_case				= num_hidden_layers
          _snake_case				= num_attention_heads
          _snake_case				= layer_norm_epsilon
          _snake_case				= initializer_range
          _snake_case				= use_cache
          _snake_case				= hidden_dropout
          _snake_case				= attention_dropout

          _snake_case				= bos_token_id
          _snake_case				= eos_token_id
          _snake_case				= num_attention_heads if num_kv_heads is None else num_kv_heads
          _snake_case				= alibi
          _snake_case				= new_decoder_architecture
          _snake_case				= multi_query  # Ignored when new_decoder_architecture is True
          _snake_case				= parallel_attn
          _snake_case				= bias

          super().__init__(bos_token_id=_SCREAMING_SNAKE_CASE   ,eos_token_id=_SCREAMING_SNAKE_CASE   ,**_SCREAMING_SNAKE_CASE       )






     @property
     def 							_lowercase      (					self       )				->     Union[str, Any]:
          return self.hidden_size // self.num_attention_heads






     @property
     def 							_lowercase      (					self       )				->     Optional[int]:
          return not self.alibi


