


def      snake_case_						( __lowercase       ):

   if num <= 0:
      raise ValueError('''Input must be a positive integer'''       )

   UpperCAmelCase_							:      Any						=   [True] * (num + 1)

   UpperCAmelCase_							:      Any						=   2
   while p * p <= num:
      if primes[p]:
         for i in range(p * p			,       num + 1			,       __lowercase       ):
            UpperCAmelCase_							:      Optional[Any]						=   False
      p += 1

   return [prime for prime in range(2			,       num + 1       ) if primes[prime]]


if __name__ == "__main__":
     import doctest

     doctest.testmod()

     __UpperCamelCase				:  Optional[Any]      					=							int(input('Enter a positive integer: ').strip())
     print(prime_sieve_eratosthenes(user_num))



from transformers import HfArgumentParser, TensorFlowBenchmark, TensorFlowBenchmarkArguments
def      snake_case_						( ):
   UpperCAmelCase_							:      str						=   HfArgumentParser(__lowercase       )
   UpperCAmelCase_							:      Optional[Any]						=   parser.parse_args_into_dataclasses()[0]
   UpperCAmelCase_							:      Optional[int]						=   TensorFlowBenchmark(args=__lowercase       )
   try:
      UpperCAmelCase_							:      List[Any]						=   parser.parse_args_into_dataclasses()[0]
   except ValueError as e:
      UpperCAmelCase_							:      List[Any]						=   '''Arg --no_{0} is no longer used, please use --no-{0} instead.'''
      UpperCAmelCase_							:      List[str]						=   ''' '''.join(str(__lowercase       ).split(''' '''       )[:-1]       )
      UpperCAmelCase_							:      Optional[int]						=   ''''''
      UpperCAmelCase_							:      Dict						=   eval(str(__lowercase       ).split(''' '''       )[-1]       )
      UpperCAmelCase_							:      int						=   []
      for arg in depreciated_args:
         # arg[2:] removes '--'
         if arg[2:] in TensorFlowBenchmark.deprecated_args:
            # arg[5:] removes '--no_'
            full_error_msg += arg_error_msg.format(arg[5:]       )
         else:
            wrong_args.append(__lowercase       )
      if len(__lowercase       ) > 0:
         UpperCAmelCase_							:      Tuple						=   full_error_msg + begin_error_msg + str(__lowercase       )
      raise ValueError(__lowercase       )
   benchmark.run()


if __name__ == "__main__":
       main()