





def      A__       (    SCREAMING_SNAKE_CASE_   :      int						)  ->  int:






   """simple docstring"""







   if not isinstance(SCREAMING_SNAKE_CASE_				,	SCREAMING_SNAKE_CASE_						):
      raise TypeError('''only integers accepted as input'''						)
   else:
      _UpperCAmelCase           =   str(abs(SCREAMING_SNAKE_CASE_						)						)
      _UpperCAmelCase           =   [list(SCREAMING_SNAKE_CASE_						) for char in range(len(SCREAMING_SNAKE_CASE_						)						)]
      for index in range(len(SCREAMING_SNAKE_CASE_						)						):
         num_transpositions[index].pop(SCREAMING_SNAKE_CASE_						)
      return max(
          int(''''''.join(list(SCREAMING_SNAKE_CASE_						)						)						) for transposition in num_transpositions						)


if __name__ == "__main__":
   __import__("doctest").testmod()






def      A__       (    SCREAMING_SNAKE_CASE_   :      int = 2_00_00_00						)  ->  int:






   """simple docstring"""







   _UpperCAmelCase           =   [0 for i in range(n + 1						)]
   _UpperCAmelCase           =   1
   _UpperCAmelCase           =   1

   for i in range(2				,	int(n**0.5						) + 1						):
      if primality_list[i] == 0:
         for j in range(i * i				,	n + 1				,	SCREAMING_SNAKE_CASE_						):
            _UpperCAmelCase           =   1
   _UpperCAmelCase           =   0
   for i in range(SCREAMING_SNAKE_CASE_						):
      if primality_list[i] == 0:
         sum_of_primes += i
   return sum_of_primes


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