


'''simple docstring'''

def _SCREAMING_SNAKE_CASE (A = 600_851_475_143			)			->			int:






       """simple docstring"""







       try:
              lowercase__      =					int(A			)
       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.'''			)
       lowercase__      =					2
       lowercase__      =					0
       if n == 2:
              return 2
       while n > 2:
              while n % i != 0:
                     i += 1
              lowercase__      =					i
              while n % i == 0:
                     lowercase__      =					n // i
              i += 1
       return int(A			)


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








'''simple docstring'''

def _SCREAMING_SNAKE_CASE (A			)			->			bool:






       """simple docstring"""







       if not isinstance(A    ,					A			):
              raise ValueError('''Input series is not valid, valid series - [2, 4, 6]'''			)
       if len(A			) == 0:
              raise ValueError('''Input list must be a non empty list'''			)
       if len(A			) == 1:
              return True
       lowercase__      =					series[1] - series[0]
       for index in range(len(A			) - 1			):
              if series[index + 1] - series[index] != common_diff:
                     return False
       return True

def _SCREAMING_SNAKE_CASE (A			)			->			float:






       """simple docstring"""







       if not isinstance(A    ,					A			):
              raise ValueError('''Input series is not valid, valid series - [2, 4, 6]'''			)
       if len(A			) == 0:
              raise ValueError('''Input list must be a non empty list'''			)
       lowercase__      =					0
       for val in series:
              answer += val
       return answer / len(A			)


if __name__ == "__main__":
 import doctest

 doctest.testmod()




