






"""simple docstring"""





import math



def     __lowercase					(    a :				int )					->					list[int]:
      __snake_case      :    Any  			=[]
      __snake_case      :    Tuple  			=2
      __snake_case      :    str  			=int(math.sqrt(a ) )  # Size of every segment
      __snake_case      :    int  			=[True] * (end + 1)
      __snake_case      :    int  			=[]

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

      __snake_case      :    str  			=end + 1
      __snake_case      :    Any  			=min(2 * end       ,		a )

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

                  for j in range(a       ,		high + 1       ,		a ):
                        __snake_case      :    Optional[Any]  			=False

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

            __snake_case      :    str  			=high + 1
            __snake_case      :    List[Any]  			=min(high + end       ,		a )

      return prime
print(sieve(10**6))










"""simple docstring"""





def     __lowercase					(    a :				str       ,		a :				str )					->					str:
      __snake_case      :    int  			=len(a )
      __snake_case      :    int  			=len(a )
      __snake_case      :    int  			=(
          first_str_length if first_str_length > second_str_length else second_str_length
      )
      __snake_case      :    list  			=[]
      for char_count in range(a ):
            if char_count < first_str_length:
                  output_list.append(first_str[char_count] )
            if char_count < second_str_length:
                  output_list.append(second_str[char_count] )
      return "".join(a )


if __name__ == "__main__":
    print(alternative_string_arrange("""AB""", """XYZ"""), end=""" """)


