






'''simple docstring'''






import random

from .binary_exp_mod import bin_exp_mod




def        _SCREAMING_SNAKE_CASE  (				A  :       Tuple  ,		A  :       List[str]=10_00  )    -> str:







   """simple docstring"""
   if n < 2:
      return False

   if n % 2 == 0:
      return n == 2

   # this means n is odd
   __snake_case				:      List[str]     							= n - 1
   __snake_case				:      List[str]     							= 0
   while d % 2 == 0:
      d /= 2
      exp += 1

   # n - 1=d*(2**exp)
   __snake_case				:      Dict     							= 0
   while count < prec:
      __snake_case				:      str     							= random.randint(2  ,		n - 1  )
      __snake_case				:      int     							= bin_exp_mod(A  ,		A  ,		A  )
      if b != 1:
         __snake_case				:      List[str]     							= True
         for _ in range(A  ):
            if b == n - 1:
               __snake_case				:      str     							= False
               break
            __snake_case				:      int     							= b * b
            b %= n
         if flag:
            return False
         count += 1
   return True


if __name__ == "__main__":
      __A    	=   abs(int(input('''Enter bound : ''').strip()))
      print('''Here\'s the list of primes:''')
      print(''', '''.join(str(i) for i in range(n + 1) if is_prime_big(i)))







'''simple docstring'''






def        _SCREAMING_SNAKE_CASE  (				A  :       float  ,		A  :       list[float]  )    -> float:







   """simple docstring"""
   if discount_rate < 0:
      raise ValueError('Discount rate cannot be negative'  )
   if not cash_flows:
      raise ValueError('Cash flows list cannot be empty'  )
   __snake_case				:      List[str]     							= sum(
       cash_flow / ((1 + discount_rate) ** i) for i, cash_flow in enumerate(A  )  )
   return round(A  ,		ndigits=2  )


if __name__ == "__main__":
      import doctest

      doctest.testmod()