



"""simple docstring"""






from ..utils import requires_backends


lowerCamelCase				:     Any								=  None




class    __snake_case:




    def __init__(   self    ,							*A_    ,							**A_			):





      '''simple docstring'''



      requires_backends(self    ,							['''detectron2''']			)




    @classmethod
    def   A   (   cls    ,							*A_    ,							**A_			):





      '''simple docstring'''



      requires_backends(cls    ,							['''detectron2''']			)





"""simple docstring"""






from math import gcd


def 							A__ (     UpperCamelCase__ = 12_000    ):


  '''simple docstring'''


  _SCREAMING_SNAKE_CASE        =			0
  for d in range(max_d + 1    ):
    for n in range(d // 3 + 1       ,							(d + 1) // 2    ):
      if gcd(UpperCamelCase__       ,							UpperCamelCase__    ) == 1:
        fractions_number += 1
  return fractions_number


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