





"""simple docstring"""




import torch


def _A       (   ):
   if torch.cuda.is_available():
      lowercase__			       =  torch.cuda.device_count()
   else:
      lowercase__			       =  0
   print(f'''Successfully ran on {num_gpus} GPUs'''	)


if __name__ == "__main__":
  main()













from __future__ import annotations


def _A       (   __magic_name__  , __magic_name__	):
   lowercase__			       =  0
   lowercase__			       =  len(__magic_name__	) - 1

   while i < j:
      if nums[i] + nums[j] == target:
         return [i, j]
      elif nums[i] + nums[j] < target:
         lowercase__			       =  i + 1
      else:
         lowercase__			       =  j - 1

   return []


if __name__ == "__main__":
  import doctest

  doctest.testmod()
  print(F"""{two_pointer([2, 7, 11, 15], 9) = }""")






