code: 
  
  
  
  
  """simple docstring"""
  
  
  
  from __future__ import annotations
  
  
  
  
  
  
  
  def 						_SCREAMING_SNAKE_CASE     (							lowercase_    ,				lowercase_    ,				lowercase_    ,				lowercase_		)		->	None:
   A__,   A__ =       m - 1, 0
   while i >= 0 and j < n:
    if key == mat[i][j]:
     print(f"""Key {key} found at row- {i + 1} column- {j + 1}"""		)
     return
    if key < mat[i][j]:
     i -= 1
    else:
     j += 1
   print(f"""Key {key} not found"""		)
  
  
  
  
  
  
  
  def 						_SCREAMING_SNAKE_CASE     (							)		->	None:
   A__ =       [[2, 5, 7], [4, 8, 13], [9, 11, 15], [12, 17, 20]]
   A__ =       int(input("Enter the element to be searched:"		)		)
   print(lowercase_		)
   search_in_a_sorted_matrix(lowercase_    ,				len(lowercase_		)    ,				len(mat[0]		)    ,				lowercase_		)
  
  
  if __name__ == "__main__":
        import doctest
  
        doctest.testmod()
        main()
  
  
  
  
  
  
style_context: 
  
  
  
  
  """simple docstring"""
  
  
  
  from typing import TYPE_CHECKING
  
  from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available
  
  
  SCREAMING_SNAKE_CASE       = {
      "configuration_deta": ["DETA_PRETRAINED_CONFIG_ARCHIVE_MAP", "DetaConfig"],
  }
  
  try:
        if not is_vision_available():
              raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
        pass
  else:
        SCREAMING_SNAKE_CASE       = ["DetaImageProcessor"]
  
  try:
        if not is_torch_available():
              raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
        pass
  else:
        SCREAMING_SNAKE_CASE       = [
            "DETA_PRETRAINED_MODEL_ARCHIVE_LIST",
            "DetaForObjectDetection",
            "DetaModel",
            "DetaPreTrainedModel",
        ]
  
  
  if TYPE_CHECKING:
        from .configuration_deta import DETA_PRETRAINED_CONFIG_ARCHIVE_MAP, DetaConfig
  
        try:
              if not is_vision_available():
                    raise OptionalDependencyNotAvailable()
        except OptionalDependencyNotAvailable:
              pass
        else:
              from .image_processing_deta import DetaImageProcessor
  
        try:
              if not is_torch_available():
                    raise OptionalDependencyNotAvailable()
        except OptionalDependencyNotAvailable:
              pass
        else:
              from .modeling_deta import (
                  DETA_PRETRAINED_MODEL_ARCHIVE_LIST,
                  DetaForObjectDetection,
                  DetaModel,
                  DetaPreTrainedModel,
              )
  
  else:
        import sys
  
        SCREAMING_SNAKE_CASE       = _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)
  
  
  
  
  
  