



import sys
import webbrowser

import requests
from bsa import BeautifulSoup
from fake_useragent import UserAgent

if __name__ == "__main__":
       print("Googling.....")
       a__   :					Optional[Any] 						=      "https://www.google.com/search?q=" + " ".join(sys.argv[1:])
       a__   :					Any 						=      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(1_00_00):
                     out_file.write(data)
       a__   :					Union[str, Any] 						=      BeautifulSoup(res.text, "html.parser")
       a__   :					Dict 						=      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")}''')





def 	_lowerCAmelCase (    A__ = 600_851_475_143						):

      try:
            lowercase__  =	int(A__						)
      except (TypeError, ValueError):
            raise TypeError('Parameter n must be int or castable to int.'						)
      if n <= 0:
            raise ValueError('Parameter n must be greater than or equal to one.'						)
      lowercase__  =	2
      lowercase__  =	0
      if n == 2:
            return 2
      while n > 2:
            while n % i != 0:
                  i += 1
            lowercase__  =	i
            while n % i == 0:
                  lowercase__  =	n // i
            i += 1
      return int(A__						)


if __name__ == "__main__":
       print(F'''{solution() = }''')
