


'''simple docstring'''




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


_lowerCAmelCase	:		Optional[int]		  =						logging.get_logger(__name__)

_lowerCAmelCase	:		List[Any]		  =						{
    'microsoft/mpnet-base': 'https://huggingface.co/microsoft/mpnet-base/resolve/main/config.json',
}



class 			lowerCAmelCase					(					a				):
	_lowerCamelCase :       Dict         =			"""mpnet"""



	def __init__(       self			,       snake_case__=3_0527			,       snake_case__=768			,       snake_case__=12			,       snake_case__=12			,       snake_case__=3072			,       snake_case__="gelu"			,       snake_case__=0.1			,       snake_case__=0.1			,       snake_case__=512			,       snake_case__=0.0_2			,       snake_case__=1e-1_2			,       snake_case__=32			,       snake_case__=1			,       snake_case__=0			,       snake_case__=2			,       **snake_case__			,       ):
		super().__init__(pad_token_id=snake_case__			,       bos_token_id=snake_case__			,       eos_token_id=snake_case__			,       **snake_case__     )

		lowerCAmelCase       :     List[str]   				=			vocab_size
		lowerCAmelCase       :     Tuple   				=			hidden_size
		lowerCAmelCase       :     Dict   				=			num_hidden_layers
		lowerCAmelCase       :     Optional[int]   				=			num_attention_heads
		lowerCAmelCase       :     Dict   				=			hidden_act
		lowerCAmelCase       :     Union[str, Any]   				=			intermediate_size
		lowerCAmelCase       :     Any   				=			hidden_dropout_prob
		lowerCAmelCase       :     Optional[int]   				=			attention_probs_dropout_prob
		lowerCAmelCase       :     Tuple   				=			max_position_embeddings
		lowerCAmelCase       :     Dict   				=			initializer_range
		lowerCAmelCase       :     Any   				=			layer_norm_eps
		lowerCAmelCase       :     str   				=			relative_attention_num_buckets




'''simple docstring'''




from itertools import combinations, product

def       __UpperCamelCase     (     _A     :					int       , _A     :					int       , _A     :					int       , _A     :					int					)     ->   bool:




	"""simple docstring"""





	if xa == ya == 0 or xa == ya == 0:
		return False
	lowerCAmelCase       :     Optional[Any]   				=			xa * xa + ya * ya
	lowerCAmelCase       :     Tuple   				=			xa * xa + ya * ya
	lowerCAmelCase       :     List[str]   				=			(xa - xa) * (xa - xa) + (ya - ya) * (ya - ya)
	return (
	    a_square + b_square == c_square
	    or a_square + c_square == b_square
	    or b_square + c_square == a_square
	)

def       __UpperCamelCase     (     _A     :					int = 50					)     ->   int:




	"""simple docstring"""





	return sum(
	    1
	    for pta, pta in combinations(product(range(limit + 1					)       , repeat=2					)       , 2					)
	    if is_right(*_A       , *_A					)					)


if __name__ == "__main__":
				print(f"""{solution() = }""")
