code: 
  
  """simple docstring"""
  
  
  
  
  from __future__ import annotations
  def      __SCREAMING_SNAKE_CASE		(		lowercase__    ,							lowercase__    ,							lowercase__   ):
  					"""simple docstring"""
  					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]
  					A    =      (left + right) >> 1  # the middle
  					A    =      find_min(__lowerCamelCase    ,							__lowerCamelCase    ,							__lowerCamelCase   )  # find min in range[left, mid]
  					A    =      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      __SCREAMING_SNAKE_CASE		(		lowercase__    ,							lowercase__   ):
  					"""simple docstring"""
  					A    =      1
  					while b > 0:
  										if b & 1:
  															res *= a
  
  										a *= a
  										b >>= 1
  
  					return res
  def      __SCREAMING_SNAKE_CASE		(		lowercase__    ,							lowercase__    ,							lowercase__   ):
  					"""simple docstring"""
  					A    =      1
  					while b > 0:
  										if b & 1:
  															A    =      ((res % c) * (a % c)) % c
  
  										a *= a
  										b >>= 1
  
  					return res
  
  
  
  
  
  