
from __future__ import annotations


def 							SCREAMING_SNAKE_CASE_      (			UpperCamelCase__		):
      UpperCamelCase__    :   int					=				[True] * limit
      UpperCamelCase__    :   Dict					=				False
      UpperCamelCase__    :   int					=				False
      UpperCamelCase__    :   Any					=				True

      for i in range(3 ,		int(limit**0.5 + 1		) ,		2		):
            UpperCamelCase__    :   Optional[int]					=				i * 2
            while index < limit:
                  UpperCamelCase__    :   str					=				False
                  UpperCamelCase__    :   int					=				index + i

      UpperCamelCase__    :   Union[str, Any]					=				[2]

      for i in range(3 ,		UpperCamelCase__ ,		2		):
            if is_prime[i]:
                  primes.append(UpperCamelCase__		)

      return primes


def 							SCREAMING_SNAKE_CASE_      (			UpperCamelCase__ = 1_0_0_0_0_0_0		):
      UpperCamelCase__    :   Tuple					=				prime_sieve(UpperCamelCase__		)
      UpperCamelCase__    :   Dict					=				0
      UpperCamelCase__    :   str					=				0

      for i in range(len(UpperCamelCase__		)		):
            for j in range(i + length ,		len(UpperCamelCase__		)		):
                  UpperCamelCase__    :   Optional[Any]					=				sum(primes[i:j]		)
                  if sol >= ceiling:
                        break

                  if sol in primes:
                        UpperCamelCase__    :   Optional[int]					=				j - i
                        UpperCamelCase__    :   str					=				sol

      return largest


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




import doctest
from collections import deque

import numpy as np




class 				_lowerCamelCase :





     """simple docstring"""







     def __init__(							self  )  ->   None:




           """simple docstring"""







           UpperCamelCase__    :   Tuple					=				[2, 1, 2, -1]
           UpperCamelCase__    :   Union[str, Any]					=				[1, 2, 3, 4]






     def    __SCREAMING_SNAKE_CASE			(							self  )  ->   list[float]:




           """simple docstring"""







           UpperCamelCase__    :   List[str]					=				len(self.first_signal  )
           UpperCamelCase__    :   Any					=				len(self.second_signal  )

           UpperCamelCase__    :   Dict					=				max(__SCREAMING_SNAKE_CASE						,						__SCREAMING_SNAKE_CASE  )

           # create a zero matrix of max_length x max_length
           UpperCamelCase__    :   List[Any]					=				[[0] * max_length for i in range(__SCREAMING_SNAKE_CASE  )]

           # fills the smaller signal with zeros to make both signals of same length
           if length_first_signal < length_second_signal:
                 self.first_signal += [0] * (max_length - length_first_signal)
           elif length_first_signal > length_second_signal:
                 self.second_signal += [0] * (max_length - length_second_signal)
           for i in range(__SCREAMING_SNAKE_CASE  ):
                 UpperCamelCase__    :   Optional[int]					=				deque(self.second_signal  )
                 rotated_signal.rotate(__SCREAMING_SNAKE_CASE  )
                 for j, item in enumerate(__SCREAMING_SNAKE_CASE  ):
                       matrix[i][j] += item

        # multiply the matrix with the first signal
           UpperCamelCase__    :   Optional[Any]					=				np.matmul(np.transpose(__SCREAMING_SNAKE_CASE  )						,						np.transpose(self.first_signal  )  )

           # rounding-off to two decimal places
           return [round(__SCREAMING_SNAKE_CASE						,						2  ) for i in final_signal]


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


