


from collections import defaultdict
from math import gcd

def 						_UpperCAmelCase    (      SCREAMING_SNAKE_CASE__      : int = 1_50_00_00    ):
     __UpperCamelCase   							=defaultdict(SCREAMING_SNAKE_CASE__    )
     __UpperCamelCase   							=2
     while 2 * euclid_m * (euclid_m + 1) <= limit:
          for euclid_n in range((euclid_m % 2) + 1      ,					SCREAMING_SNAKE_CASE__      ,					2    ):
               if gcd(SCREAMING_SNAKE_CASE__      ,					SCREAMING_SNAKE_CASE__    ) > 1:
                    continue
               __UpperCamelCase   							=2 * euclid_m * (euclid_m + euclid_n)
               for perimeter in range(SCREAMING_SNAKE_CASE__      ,					limit + 1      ,					SCREAMING_SNAKE_CASE__    ):
                    frequencies[perimeter] += 1
          euclid_m += 1
     return sum(1 for frequency in frequencies.values() if frequency == 1    )


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



from ....utils import logging


_A			=						logging.get_logger(__name__)






class    UpperCAmelCase__	( A_		):



    """simple docstring"""






    def __init__(      self ,       A_ ,       A_=None ,       A_=2048   )  ->	Any:
         __UpperCamelCase   							=config.__dict__
         __UpperCamelCase   							=modal_hidden_size
         if num_labels:
              __UpperCamelCase   							=num_labels





