


'''simple docstring'''


from __future__ import annotations




def      lowerCamelCase					(      lowerCamelCase  :      int):
      if not nums:
            return 0
      A_						:  Any          =				nums[0]
      A_						:  Optional[Any]          =				0
      for num in nums[1:]:
            A_   ,					A_						:  Dict          =				(
                max_excluding + num,
                max(__UpperCamelCase							,						__UpperCamelCase),
            )
      return max(__UpperCamelCase							,						__UpperCamelCase)


if __name__ == "__main__":
 import doctest

 doctest.testmod()




'''simple docstring'''


import sys
import webbrowser

import requests
from bsa import BeautifulSoup
from fake_useragent import UserAgent

if __name__ == "__main__":
     print('Googling.....')
     __magic_name__			=      'https://www.google.com/search?q=' + ' '.join(sys.argv[1:])
     __magic_name__			=      requests.get(url, headers={'UserAgent': UserAgent().random})
     # res.raise_for_status()
     with open('project1a.html', 'wb') as out_file:  # only for knowing the class
          for data in res.iter_content(10_000):
               out_file.write(data)
     __magic_name__			=      BeautifulSoup(res.text, 'html.parser')
     __magic_name__			=      list(soup.select('.eZt8xd'))[:5]

     print(len(links))
     for link in links:
          if link.text == "Maps":
               webbrowser.open(link.get('href'))
          else:
               webbrowser.open(f"""https://google.com{link.get('href')}""")
