





'''simple docstring'''


def 							UpperCAmelCase_  (						__lowerCamelCase					:					int	,__lowerCamelCase					:					int ):
   if a < 0 or b < 0:
      raise ValueError("the value of both inputs must be positive" )

   lowercase_			:Optional[Any]    			= str(bin(__lowerCamelCase ) )[2:]  # remove the leading "0b"
   lowercase_			:Optional[int]    			= str(bin(__lowerCamelCase ) )[2:]  # remove the leading "0b"

   lowercase_			:List[Any]    			= max(len(__lowerCamelCase )	,len(__lowerCamelCase ) )

   return "0b" + "".join(
       str(int(char_a == "1" and char_b == "1" ) )
       for char_a, char_b in zip(a_binary.zfill(__lowerCamelCase )	,b_binary.zfill(__lowerCamelCase ) ) )


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.....''')
 lowerCAmelCase					:     str												='''https://www.google.com/search?q=''' + ''' '''.join(sys.argv[1:])
 lowerCAmelCase					:     List[str]												=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)
 lowerCAmelCase					:     List[Any]												=BeautifulSoup(res.text, '''html.parser''')
 lowerCAmelCase					:     List[Any]												=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')}''')


