code: 
  
  
  def 							_UpperCAmelCase       (UpperCamelCase__  :						list       ,							UpperCamelCase__  :						int       ,							UpperCamelCase__  :						int       ,							UpperCamelCase__  :						int		):
         _A   : List[Any]       					=				int((lower_bound + upper_bound) // 2		)
         if array[r] == value:
                return r
         if lower_bound >= upper_bound:
                return -1
         if array[r] < value:
                return binary_search(UpperCamelCase__       ,							r + 1       ,							UpperCamelCase__       ,							UpperCamelCase__		)
         else:
                return binary_search(UpperCamelCase__       ,							UpperCamelCase__       ,							r - 1       ,							UpperCamelCase__		)
  def 							_UpperCAmelCase       (UpperCamelCase__  :						int       ,							UpperCamelCase__  :						list		):
         _A   : List[Any]       					=				0
         if matrix[index][0] == value:
                return [index, 0]
         while index < len(UpperCamelCase__		) and matrix[index][0] < value:
                _A   : int       					=				binary_search(matrix[index]       ,							0       ,							len(matrix[index]		) - 1       ,							UpperCamelCase__		)
                if r != -1:
                       return [index, r]
                index += 1
         return [-1, -1]
  
  
  if __name__ == "__main__":
      import doctest
  
      doctest.testmod()
  
style_context: 
  
  
  lowerCAmelCase__   	=				'\n# Transformers installation\n! pip install transformers datasets evaluate\n# To install from source instead of the last release, comment the command above and uncomment the following one.\n# ! pip install git+https://github.com/huggingface/transformers.git\n'
  
  lowerCAmelCase__   	=				[{'type': 'code', 'content': INSTALL_CONTENT}]
  lowerCAmelCase__   	=				{
      '{processor_class}': 'FakeProcessorClass',
      '{model_class}': 'FakeModelClass',
      '{object_class}': 'FakeObjectClass',
  }
  