code: 
  
  
  
  
  
  '''simple docstring'''
  
  from __future__ import annotations
  
  
  
  
  
  def lowerCamelCase		(  __lowerCamelCase				:					list[int | float]      , __lowerCamelCase				:					int      , __lowerCamelCase				:					int					)		->int | float:
      if len(__lowerCamelCase					) == 0:
          raise ValueError("""find_min() arg is an empty sequence"""					)
      if (
          left >= len(__lowerCamelCase					)
          or left < -len(__lowerCamelCase					)
          or right >= len(__lowerCamelCase					)
          or right < -len(__lowerCamelCase					)
      ):
          raise IndexError("""list index out of range"""					)
      if left == right:
          return nums[left]
      _SCREAMING_SNAKE_CASE             =    (left + right) >> 1  # the middle
      _SCREAMING_SNAKE_CASE             =    find_min(__lowerCamelCase      , __lowerCamelCase      , __lowerCamelCase					)  # find min in range[left, mid]
      _SCREAMING_SNAKE_CASE             =    find_min(__lowerCamelCase      , mid + 1      , __lowerCamelCase					)  # find min in range[mid + 1, right]
  
      return left_min if left_min <= right_min else right_min
  
  
  if __name__ == "__main__":
        import doctest
  
        doctest.testmod(verbose=True)
  
  
  
  
style_context: 
  
  
  
  
  
  '''simple docstring'''
  
  def lowerCamelCase		(  __lowerCamelCase				:					int = 10**6					)		->int:
  
      if n <= 0:
          raise ValueError("""Please enter an integer greater than 0"""					)
  
      _SCREAMING_SNAKE_CASE             =    list(range(n + 1					)					)
      for number in range(2      , n + 1					):
          if phi[number] == number:
              phi[number] -= 1
              for multiple in range(number * 2      , n + 1      , __lowerCamelCase					):
                  _SCREAMING_SNAKE_CASE             =    (phi[multiple] // number) * (number - 1)
  
      _SCREAMING_SNAKE_CASE             =    1
      for number in range(1      , n + 1					):
          if (answer / phi[answer]) < (number / phi[number]):
              _SCREAMING_SNAKE_CASE             =    number
  
      return answer
  
  
  if __name__ == "__main__":
        print(solution())
  
  
  
  