

"""simple docstring"""



def  _snake_case     (    UpperCAmelCase_  :					str			):

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

     A__										=  [True] * (num + 1)

     A__										=  2
     while p * p <= num:
          if primes[p]:
               for i in range(p * p					,   num + 1					,   _snake_case			):
                    A__										=  False
          p += 1

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


if __name__ == "__main__":
 import doctest

 doctest.testmod()

 SCREAMING_SNAKE_CASE_					:	Any		  =						int(input('Enter a positive integer: ').strip())
 print(prime_sieve_eratosthenes(user_num))









"""simple docstring"""



def  _snake_case     (    UpperCAmelCase_  :					int			):
     A__										=  1
     for i in range(1					,   num + 1			):
          fact *= i
     return fact





def  _snake_case     (    UpperCAmelCase_  :					int			):
     A__										=  0
     while number > 0:
          A__										=  number % 10
          sum_of_digits += last_digit
          A__										=  number // 10  # Removing the last_digit from the given number
     return sum_of_digits





def  _snake_case     (    UpperCAmelCase_  :					int = 100			):
     A__										=  factorial(UpperCAmelCase_			)
     A__										=  split_and_add(UpperCAmelCase_			)
     return result


if __name__ == "__main__":
 print(solution(int(input('Enter the Number: ').strip())))






