def       lowerCAmelCase_     (		lowercase:							int = 10**9		)    ->				int:







 '''simple docstring'''
 _UpperCamelCase:     List[Any]							= 1
 _UpperCamelCase:     Dict							= 2

 _UpperCamelCase:     Tuple							= 0
 _UpperCamelCase:     int							= 0
 _UpperCamelCase:     Dict							= 0
 while perimeter <= max_perimeter:
  perimeters_sum += perimeter

  prev_value += 2 * value
  value += prev_value

  _UpperCamelCase:     str							= 2 * value + 2 if i % 2 == 0 else 2 * value - 2
  i += 1

 return perimeters_sum


if __name__ == "__main__":
  print(f"""{solution() = }""")
def       lowerCAmelCase_     (		lowercase:							int = 600_851_475_143		)    ->				int:







 '''simple docstring'''

 try:
  _UpperCamelCase:     Optional[int]							= int(lowercase		)
 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:     Dict							= 1
 _UpperCamelCase:     Tuple							= 2
 while i * i <= n:
  while n % i == 0:
   _UpperCamelCase:     List[Any]							= i
   n //= i
  i += 1
 if n > 1:
  _UpperCamelCase:     Any							= n
 return int(lowercase		)


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