

def    snake_case_(_UpperCamelCase  )							->			int:



  """simple docstring"""






  return n * (2 * n - 1)



def    snake_case_(_UpperCamelCase  )							->			bool:



  """simple docstring"""






  _snake_case		=							(1 + 24 * n) ** 0.5
  return ((1 + root) / 6) % 1 == 0



def    snake_case_(_UpperCamelCase = 144  )							->			int:



  """simple docstring"""






  _snake_case		=							start
  _snake_case		=							hexagonal_num(_UpperCamelCase  )
  while not is_pentagonal(_UpperCamelCase  ):
    n += 1
    _snake_case		=							hexagonal_num(_UpperCamelCase  )
  return num


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




from __future__ import annotations



def    snake_case_(_UpperCamelCase  )							->			int | float:



  """simple docstring"""






  if len(_UpperCamelCase  ) == 0:
    raise ValueError('''find_max() arg is an empty sequence'''  )
  _snake_case		=							nums[0]
  for x in nums:
    if x > max_num:
      _snake_case		=							x
  return max_num


if __name__ == "__main__":
 import doctest

 doctest.testmod(verbose=True)

