code: 
  
  
  
  
  
  
  def 	SCREAMING_SNAKE_CASE							(      __lowerCAmelCase = 20    )				->			int:
  
       try:
            UpperCamelCase__    :     Optional[int]        =						int(__lowerCAmelCase    )
       except (TypeError, ValueError):
            raise TypeError("Parameter n must be int or castable to int."    )
       if n <= 0:
            raise ValueError("Parameter n must be greater than or equal to one."    )
       UpperCamelCase__    :     List[Any]        =						0
       while 1:
            i += n * (n - 1)
            UpperCamelCase__    :     Optional[int]        =						0
            for j in range(2      ,					__lowerCAmelCase    ):
                 if i % j != 0:
                      UpperCamelCase__    :     List[Any]        =						1
                      break
            if nfound == 0:
                 if i == 0:
                      UpperCamelCase__    :     List[Any]        =						1
                 return i
       return None
  
  
  if __name__ == "__main__":
   print(F"""{solution() = }""")
style_context: 
  
  
  
  
  
  
  from __future__ import annotations
  
  
  
  
  
  
  
  def 	SCREAMING_SNAKE_CASE							(      __lowerCAmelCase    )				->			list[int]:
       assert (
           isinstance(__lowerCAmelCase      ,					__lowerCAmelCase    ) and mask > 0
       ), f'mask needs to be positive integer, your input {mask}'
       UpperCamelCase__    :     Any        =						[]
       UpperCamelCase__    :     int        =						mask
  
       while submask:
            all_submasks.append(__lowerCAmelCase    )
            UpperCamelCase__    :     List[str]        =						(submask - 1) & mask
  
       return all_submasks
  
  
  if __name__ == "__main__":
   import doctest
  
   doctest.testmod()