

def        lowerCamelCase__       (    _a							,	_a):
	return int((input_a, input_a).count(1) != 0)

def        lowerCamelCase__       (    ):
	assert or_gate(0							,	0) == 0
	assert or_gate(0							,	1) == 1
	assert or_gate(1							,	0) == 1
	assert or_gate(1							,	1) == 1


if __name__ == "__main__":
			print(or_gate(0, 1))
			print(or_gate(1, 0))
			print(or_gate(0, 0))
			print(or_gate(1, 1))


"""simple docstring"""





import webbrowser
from sys import argv
from urllib.parse import parse_qs, quote

import requests
from bsa import BeautifulSoup
from fake_useragent import UserAgent

if __name__ == "__main__":
							__UpperCamelCase  :      Tuple							      =		'''%20'''.join(argv[1:]) if len(argv) > 1 else quote(str(input('''Search: ''')))

							print('''Googling.....''')

							__UpperCamelCase  :      Optional[int]							      =		F'''https://www.google.com/search?q={query}&num=100'''

							__UpperCamelCase  :      Optional[Any]							      =		requests.get(
							    url,
							    headers={'''User-Agent''': str(UserAgent().random)},
							)

							try:
														__UpperCamelCase  :      Union[str, Any]							      =		(
														    BeautifulSoup(res.text, '''html.parser''')
														    .find('''div''', attrs={'''class''': '''yuRUbf'''})
														    .find('''a''')
														    .get('''href''')
														)

							except AttributeError:
														__UpperCamelCase  :      str							      =		parse_qs(
														    BeautifulSoup(res.text, '''html.parser''')
														    .find('''div''', attrs={'''class''': '''kCrYT'''})
														    .find('''a''')
														    .get('''href''')
														)['''url'''][0]

							webbrowser.open(link)




