

'''simple docstring'''



import math







def   a__			(    a__		):




     """simple docstring"""


     __SCREAMING_SNAKE_CASE      = []
     __SCREAMING_SNAKE_CASE      = 2
     __SCREAMING_SNAKE_CASE      = int(math.sqrt(a__		)		)  # Size of every segment
     __SCREAMING_SNAKE_CASE      = [True] * (end + 1)
     __SCREAMING_SNAKE_CASE      = []

     while start <= end:
          if temp[start] is True:
               in_prime.append(a__		)
               for i in range(start * start ,       end + 1 ,       a__		):
                    __SCREAMING_SNAKE_CASE      = False
          start += 1
     prime += in_prime

     __SCREAMING_SNAKE_CASE      = end + 1
     __SCREAMING_SNAKE_CASE      = min(2 * end ,       a__		)

     while low <= n:
          __SCREAMING_SNAKE_CASE      = [True] * (high - low + 1)
          for each in in_prime:
               __SCREAMING_SNAKE_CASE      = math.floor(low / each		) * each
               if t < low:
                    t += each

               for j in range(a__ ,       high + 1 ,       a__		):
                    __SCREAMING_SNAKE_CASE      = False

          for j in range(len(a__		)		):
               if temp[j] is True:
                    prime.append(j + low		)

          __SCREAMING_SNAKE_CASE      = high + 1
          __SCREAMING_SNAKE_CASE      = min(high + end ,       a__		)

     return prime



print(sieve(1_0**6))








"""simple docstring"""

import math




def      lowercase__    (       lowerCAmelCase					:       str			,					lowerCAmelCase					:       Optional[Any]			)			->   List[Any]:






    """simple docstring"""




    if 0 not in (x, y):
        # We use the relation x^y = y*log10(x), where 10 is the base.
        return y * math.logaa(lowerCAmelCase			)
    else:
        if x == 0:  # 0 raised to any number is 0
            return 0
        elif y == 0:
            return 1  # any number raised to 0 is 1
    raise AssertionError('This should never happen'			)


if __name__ == "__main__":  # Main function
   # Read two numbers from input and typecast them to int using map function.
   # Here x is the base and y is the power.
   SCREAMING_SNAKE_CASE_            =    '''Enter the base and the power separated by a comma: '''
   SCREAMING_SNAKE_CASE_       ,    SCREAMING_SNAKE_CASE_            =    map(int, input(prompt).split(''','''))
   SCREAMING_SNAKE_CASE_       ,    SCREAMING_SNAKE_CASE_            =    map(int, input(prompt).split(''','''))

   # We find the log of each number, using the function res(), which takes two
   # arguments.
   SCREAMING_SNAKE_CASE_            =    res(xa, ya)
   SCREAMING_SNAKE_CASE_            =    res(xa, ya)

   # We check for the largest number
   if resa > resa:
      print('''Largest number is''', xa, '''^''', ya)
   elif resa > resa:
      print('''Largest number is''', xa, '''^''', ya)
   else:
      print('''Both are equal''')



