'''simple docstring'''
from __future__ import annotations

import typing
from collections import Counter



def 			__lowerCamelCase							(   _UpperCamelCase	:	int       ):


      '''simple docstring'''


      UpperCAmelCase_      =	Counter()
      for base in range(1				,     max_perimeter + 1       ):
            for perpendicular in range(_A				,     max_perimeter + 1       ):
                  UpperCAmelCase_      =	(base * base + perpendicular * perpendicular) ** 0.5
                  if hypotenuse == int(_A       ):
                        UpperCAmelCase_      =	int(base + perpendicular + hypotenuse       )
                        if perimeter > max_perimeter:
                              continue
                        triplets[perimeter] += 1
      return triplets



def 			__lowerCamelCase							(   _UpperCamelCase	:	int = 1000       ):


      '''simple docstring'''


      UpperCAmelCase_      =	pythagorean_triple(_A       )
      return triplets.most_common(1       )[0][0]


if __name__ == "__main__":
      print(F'''Perimeter {solution()} has maximum solutions''')









import requests
from bsa import BeautifulSoup
def 							UpperCamelCase_(					_A :str = "AAPL"	)->		str:
			UpperCamelCase__       =							F'''https://in.finance.yahoo.com/quote/{symbol}?s={symbol}'''
			UpperCamelCase__       =							BeautifulSoup(requests.get(_A	).text					,  "html.parser"	)
			UpperCamelCase__       =							"My(6px) Pos(r) smartphone_Mt(6px)"
			return soup.find("div"					,  class_=class_	).find("span"	).text


if __name__ == "__main__":
						for symbol in "AAPL AMZN IBM GOOG MSFT ORCL".split():
												print(f'''Current {symbol:<4} stock price is {stock_price(symbol):>8}''')


